make both HTML and plaintext links be styled the same way

This commit is contained in:
Henry Hiles 2026-11-03 14:23:23 -05:00
commit 2fc5a9bf85
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -29,7 +29,10 @@ final class const LinkifiedText(
), ),
LinkableElement(:final text, :final url) => TextSpan( LinkableElement(:final text, :final url) => TextSpan(
text: text, text: text,
style: .new(color: Theme.of(context).colorScheme.primary), style: .new(
color: Theme.of(context).colorScheme.primary,
decoration: .underline,
),
mouseCursor: SystemMouseCursors.click, mouseCursor: SystemMouseCursors.click,
recognizer: TapGestureRecognizer() recognizer: TapGestureRecognizer()
..onTap = () => ..onTap = () =>