From 0983b11857271a09991775102d6ce98d93a83eeb Mon Sep 17 00:00:00 2001 From: Kelrap Date: Fri, 14 Jun 2024 12:39:32 -0400 Subject: [PATCH] Bot_style uses theme color for text --- lib/pangea/utils/bot_style.dart | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/pangea/utils/bot_style.dart b/lib/pangea/utils/bot_style.dart index 3791c205e..1a3a2f8fb 100644 --- a/lib/pangea/utils/bot_style.dart +++ b/lib/pangea/utils/bot_style.dart @@ -19,11 +19,7 @@ class BotStyle { AppConfig.fontSizeFactor * (big == true ? 1.2 : 1), fontStyle: italics ? FontStyle.italic : null, - color: setColor - ? Theme.of(context).brightness == Brightness.dark - ? AppConfig.primaryColorLight - : AppConfig.primaryColor - : null, + color: setColor ? Theme.of(context).colorScheme.primary : null, inherit: true, );