1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-19 00:05:16 +00:00

Fix theme color

This commit is contained in:
2021-03-16 17:41:14 +01:00
parent bd794f8079
commit e31c91a55c
2 changed files with 8 additions and 4 deletions

View File

@ -274,3 +274,7 @@ void applyNewThemeSettings(BuildContext context) =>
/// Parse emojies
String parseEmojies(String input) => EmojiParser().emojify(input);
/// Create a white text style for dart heme and a black text otherwise
TextStyle blackForWhiteTheme() =>
TextStyle(color: darkTheme() ? Colors.white : Colors.black);