mirror of
https://github.com/immich-app/immich.git
synced 2025-12-24 01:11:32 +03:00
feat(mobile): exclude locales from overpass font (#14158)
* feat(mobile): create localeProvider This provider can be used to refresh providers that provide UI elements and get cached. * feat(mobile): use default font for locales not supported by Overpass * chore(mobile): fix test * refactor(mobile): use Locale instead of String
This commit is contained in:
@@ -48,3 +48,8 @@ const Map<String, Locale> locales = {
|
||||
};
|
||||
|
||||
const String translationsPath = 'assets/i18n';
|
||||
|
||||
const List<Locale> localesNotSupportedByOverpass = [
|
||||
Locale('el', 'GR'),
|
||||
Locale('sr', 'Cyrl'),
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user