1
0
mirror of https://github.com/immich-app/immich.git synced 2025-01-01 11:37:06 +02: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 chore(mobile): clean up (#13338) 2024-10-10 16:53:20 +07:00
asset_viewer fix(mobile): Fix minor issues with downloading assets (#13609) 2024-10-20 12:56:02 -05:00
backup feat(mobile): new mobile UI (#12582) 2024-10-10 15:44:14 +07:00
image fix(mobile): more efficient loading local image on ios (#13426) 2024-10-14 15:52:58 +07:00
map refactor(mobile): use repositories in a number of services (#12891) 2024-09-24 12:50:21 +00:00
search fix(mobile): search page (#13833) 2024-10-30 14:27:13 -05:00
activity_service.provider.dart refactor(mobile): more repositories (#12879) 2024-09-24 08:24:48 +02:00
activity_service.provider.g.dart refactor(mobile): use repositories in a number of services (#12891) 2024-09-24 12:50:21 +00:00
activity_statistics.provider.dart refactor(mobile): more repositories (#12879) 2024-09-24 08:24:48 +02:00
activity_statistics.provider.g.dart refactor(mobile): use repositories in a number of services (#12891) 2024-09-24 12:50:21 +00:00
activity.provider.dart
activity.provider.g.dart
api.provider.dart
api.provider.g.dart
app_life_cycle.provider.dart feat(mobile): new mobile UI (#12582) 2024-10-10 15:44:14 +07:00
app_settings.provider.dart
app_settings.provider.g.dart
archive.provider.dart refactor(mobile): widgets (#9291) 2024-05-06 23:04:21 -05:00
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 chore(mobile): restrict isar use via CI checks (#12840) 2024-09-22 09:24:08 -04:00
gallery_permission.provider.dart fix(mobile): android always prompts permission when accessing backup page (#11790) 2024-08-14 18:55:52 -05:00
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 feat: serve map tile styles from tiles.immich.cloud (#12858) 2024-09-23 20:30:23 +00:00
shared_link.provider.dart
tab.provider.dart feat(mobile): new mobile UI (#12582) 2024-10-10 15:44:14 +07:00
trash.provider.dart fix(mobile): trash sorting order (#13299) 2024-10-10 08:52:12 +00:00
upload_profile_image.provider.dart
user.provider.dart refactor(server): rename api tags to follow plural nomenclature of endpoints (#9872) 2024-05-29 18:26:57 -04:00
websocket.provider.dart feat(mobile): add additional request headers (#10588) 2024-06-26 19:31:55 +00:00