mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-03-11 02:50:40 +01:00
fix: Link color
This commit is contained in:
parent
41696020b3
commit
16d6623346
@ -112,6 +112,11 @@ class MessageContent extends StatelessWidget {
|
|||||||
color: textColor,
|
color: textColor,
|
||||||
fontSize: bigEmotes ? fontSize * 3 : fontSize,
|
fontSize: bigEmotes ? fontSize * 3 : fontSize,
|
||||||
),
|
),
|
||||||
|
linkStyle: TextStyle(
|
||||||
|
color: textColor.withAlpha(150),
|
||||||
|
fontSize: bigEmotes ? fontSize * 3 : fontSize,
|
||||||
|
decoration: TextDecoration.underline,
|
||||||
|
),
|
||||||
room: event.room,
|
room: event.room,
|
||||||
emoteSize: bigEmotes ? fontSize * 3 : fontSize * 1.5,
|
emoteSize: bigEmotes ? fontSize * 3 : fontSize * 1.5,
|
||||||
);
|
);
|
||||||
@ -190,6 +195,11 @@ class MessageContent extends StatelessWidget {
|
|||||||
fontSize: bigEmotes ? fontSize * 3 : fontSize,
|
fontSize: bigEmotes ? fontSize * 3 : fontSize,
|
||||||
decoration: event.redacted ? TextDecoration.lineThrough : null,
|
decoration: event.redacted ? TextDecoration.lineThrough : null,
|
||||||
),
|
),
|
||||||
|
linkStyle: TextStyle(
|
||||||
|
color: textColor.withAlpha(150),
|
||||||
|
fontSize: bigEmotes ? fontSize * 3 : fontSize,
|
||||||
|
decoration: TextDecoration.underline,
|
||||||
|
),
|
||||||
onLinkTap: (url) => UrlLauncher(context, url).launchUrl(),
|
onLinkTap: (url) => UrlLauncher(context, url).launchUrl(),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user