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