use system emoji before bundled

Needs testing on:
- Android
- Windows
- MacOS
To make sure that it doesn't break stuff.
This commit is contained in:
Henry Hiles 2026-10-19 10:38:30 -04:00
commit b6ee5aec64
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -4,7 +4,7 @@ extension SchemeToTheme on ColorScheme {
ThemeData get theme {
final textTheme = ThemeData(
fontFamily: "bundled-sans",
fontFamilyFallback: ["bundled-emoji"],
fontFamilyFallback: ["emoji", "bundled-emoji"],
brightness: brightness,
).textTheme;
return .from(colorScheme: this).copyWith(
@ -29,7 +29,7 @@ extension SchemeToTheme on ColorScheme {
borderRadius: .circular(8),
),
),
iconButtonTheme: .new(variant: StyleVariant.material3Expressive),
iconButtonTheme: .new(variant: .material3Expressive),
textTheme: textTheme,
inputDecorationTheme: const InputDecorationTheme(
border: OutlineInputBorder(),