From 1c03fdf1db794e16675e28e0c2e45e707edc106b Mon Sep 17 00:00:00 2001 From: Nima Boscarino Date: Mon, 8 Nov 2021 12:57:55 -0800 Subject: [PATCH] Add link styling, using main text colour --- lib/widgets/messagebubble.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/widgets/messagebubble.dart b/lib/widgets/messagebubble.dart index 128b9fab..a91378b0 100644 --- a/lib/widgets/messagebubble.dart +++ b/lib/widgets/messagebubble.dart @@ -77,6 +77,9 @@ class MessageBubbleState extends State { style: TextStyle( color: fromMe ? Provider.of(context).theme.messageFromMeTextColor() : Provider.of(context).theme.messageFromOtherTextColor(), ), + linkStyle: TextStyle( + color: Provider.of(context).current().mainTextColor(), + ), textAlign: TextAlign.left, textWidthBasis: TextWidthBasis.longestLine, );