1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-01 08:31:59 +00:00
immich/mobile/lib/providers
John Stef 3a2e30e30e
fix(mobile): fixes on language change (#14089)
* fix(mobile): make widgets rebuild on locale changes

This will make the make the pages to instantly refresh the correct
translated string, without the need to pop and push the settings page.

* fix(mobile): set the default intl locale

This is needed because across the app, you don't pass the context.locale
to DateFormat, so by default it uses the system's locale. This will fix
the issue without the need to refactor a lot of code.

* feat(mobile): create localeProvider

This provider can be used to refresh providers that provide UI elements
and get cached.

* fix(mobile): refresh asset providers on locale change

This is necessary to update the locale on the already evaluated
DateFormat.

---------

Co-authored-by: Alex <alex.tran1502@gmail.com>
2024-11-19 12:09:29 -06:00
..
album
asset_viewer fix(mobile): Fix minor issues with downloading assets (#13609) 2024-10-20 12:56:02 -05:00
backup
image fix(mobile): more efficient loading local image on ios (#13426) 2024-10-14 15:52:58 +07:00
map
search fix(mobile): search page (#13833) 2024-10-30 14:27:13 -05:00
activity.provider.dart
activity.provider.g.dart
activity_service.provider.dart
activity_service.provider.g.dart
activity_statistics.provider.dart
activity_statistics.provider.g.dart
api.provider.dart
api.provider.g.dart
app_life_cycle.provider.dart
app_settings.provider.dart
app_settings.provider.g.dart
archive.provider.dart
asset.provider.dart fix(mobile): fixes on language change (#14089) 2024-11-19 12:09:29 -06:00
authentication.provider.dart fix(mobile): fix logout timeout (#14104) 2024-11-13 17:27:49 +00:00
db.provider.dart
favorite.provider.dart
gallery_permission.provider.dart
haptic_feedback.provider.dart
immich_logo_provider.dart
immich_logo_provider.g.dart
locale_provider.dart feat(mobile): exclude locales from overpass font (#14158) 2024-11-19 09:36:46 -06:00
memory.provider.dart
multiselect.provider.dart
notification_permission.provider.dart
oauth.provider.dart
partner.provider.dart fix(mobile): unnecessary rebuilds from partner share notifier (#14170) 2024-11-17 12:04:55 -05:00
server_info.provider.dart
shared_link.provider.dart
tab.provider.dart
trash.provider.dart
upload_profile_image.provider.dart
user.provider.dart
websocket.provider.dart