File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,14 @@ class ZulipApp extends StatelessWidget {
14
14
@override
15
15
Widget build (BuildContext context) {
16
16
final theme = ThemeData (
17
+ // This sets up the font fallback for normal text that
18
+ // may contain an emoji, where it will use any font from the "sans-serif"
19
+ // group to fetch the glyphs and fallback to "Noto Color Emoji" for emojis.
20
+ //
21
+ // Note that specifiying only "Noto Color Emoji" in the fallback list,
22
+ // Flutter tries to use it to draw even the non emoji characters
23
+ // which leads to broken text rendering.
24
+ fontFamilyFallback: const < String > ['sans-serif' , 'Noto Color Emoji' ],
17
25
useMaterial3: false , // TODO(#225) fix things and switch to true
18
26
// This applies Material 3's color system to produce a palette of
19
27
// appropriately matching and contrasting colors for use in a UI.
You can’t perform that action at this time.
0 commit comments