An open-source cross-platform alternative to AirDrop
feat: update windows font
Tien Do Nam9662a2e1695c
diff --git a/lib/theme.dart b/lib/theme.dartindex 30027ab8..8551c514 100644--- a/lib/theme.dart+++ b/lib/theme.dart@@ -1,5 +1,6 @@import 'package:flutter/material.dart';import 'package:flutter/services.dart';+import 'package:localsend_app/gen/strings.g.dart';import 'package:localsend_app/util/platform_check.dart';final _borderRadius = BorderRadius.circular(5);@@ -49,7 +50,11 @@ ThemeData getTheme(Brightness brightness) {),// https://github.com/localsend/localsend/issues/52- fontFamily: checkPlatform([TargetPlatform.windows]) ? 'Microsoft YaHei UI' : null,+ fontFamily: checkPlatform([TargetPlatform.windows])+ ? ([AppLocale.zhHans, AppLocale.zhHantHk, AppLocale.zhHantTw, AppLocale.ko, AppLocale.ja].contains(LocaleSettings.currentLocale)+ ? 'Microsoft YaHei UI'+ : 'Segoe UI Variable Display')+ : null,);}