mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 15:57:25 +00:00
Fix font problem on Linux ARM64 (#231)
This commit is contained in:
@@ -152,6 +152,17 @@ class _MyAppState extends State<MyApp> with WidgetsBindingObserver {
|
|||||||
'sans-serif'
|
'sans-serif'
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
if (App.isLinux) {
|
||||||
|
font = 'Noto Sans CJK';
|
||||||
|
fallback = [
|
||||||
|
'Segoe UI',
|
||||||
|
'Microsoft YaHei',
|
||||||
|
'PingFang SC',
|
||||||
|
'Noto Sans CJK',
|
||||||
|
'Arial',
|
||||||
|
'sans-serif'
|
||||||
|
];
|
||||||
|
}
|
||||||
return ThemeData(
|
return ThemeData(
|
||||||
colorScheme: SeedColorScheme.fromSeeds(
|
colorScheme: SeedColorScheme.fromSeeds(
|
||||||
primaryKey: primary,
|
primaryKey: primary,
|
||||||
|
Reference in New Issue
Block a user