build: Do not load emojis at initial start on web

This commit is contained in:
krille-chan 2024-01-20 11:23:48 +01:00
commit a7a8285a55
No known key found for this signature in database
4 changed files with 10 additions and 2 deletions

View file

@ -72,7 +72,7 @@ abstract class FluffyThemes {
useMaterial3: true,
brightness: brightness,
colorScheme: colorScheme,
textTheme: PlatformInfos.isDesktop || PlatformInfos.isWeb
textTheme: PlatformInfos.isDesktop
? brightness == Brightness.light
? Typography.material2018().black.merge(fallbackTextTheme)
: Typography.material2018().white.merge(fallbackTextTheme)