fix; font
This commit is contained in:
@@ -4,7 +4,7 @@ import 'package:hiddify/gen/fonts.gen.dart';
|
||||
import 'package:hiddify/gen/translations.g.dart';
|
||||
|
||||
extension AppLocaleX on AppLocale {
|
||||
String get preferredFontFamily => this == AppLocale.fa ? FontFamily.shabnam : (Platform.isIOS || Platform.isMacOS ? "" : FontFamily.emoji);
|
||||
String get preferredFontFamily => this == AppLocale.fa ? FontFamily.shabnam : (!Platform.isWindows ? "" : FontFamily.emoji);
|
||||
|
||||
String get localeName => switch (flutterLocale.toString()) {
|
||||
"en" => "English",
|
||||
|
||||
Reference in New Issue
Block a user