chore: Follow up theme fix

This commit is contained in:
Christian Pauly 2022-08-21 07:29:03 +02:00
commit 37a6d3fc70
2 changed files with 8 additions and 6 deletions

View file

@ -39,7 +39,9 @@ abstract class FluffyThemes {
colorScheme?.primary ??
AppConfig.chatColor,
textTheme: PlatformInfos.isDesktop
? Typography.material2018().black.merge(fallbackTextTheme)
? brightness == Brightness.light
? Typography.material2018().black.merge(fallbackTextTheme)
: Typography.material2018().white.merge(fallbackTextTheme)
: null,
snackBarTheme: const SnackBarThemeData(
behavior: SnackBarBehavior.floating,