make both HTML and plaintext links be styled the same way
This commit is contained in:
parent
8650c44266
commit
2fc5a9bf85
1 changed files with 4 additions and 1 deletions
|
|
@ -29,7 +29,10 @@ final class const LinkifiedText(
|
|||
),
|
||||
LinkableElement(:final text, :final url) => TextSpan(
|
||||
text: text,
|
||||
style: .new(color: Theme.of(context).colorScheme.primary),
|
||||
style: .new(
|
||||
color: Theme.of(context).colorScheme.primary,
|
||||
decoration: .underline,
|
||||
),
|
||||
mouseCursor: SystemMouseCursors.click,
|
||||
recognizer: TapGestureRecognizer()
|
||||
..onTap = () =>
|
||||
|
|
|
|||
Loading…
Reference in a new issue