1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-04 02:46:47 +01:00
immich/mobile/lib/pages/common
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
..
activities.page.dart refactor(mobile): widgets (#9291) 2024-05-06 23:04:21 -05:00
album_additional_shared_user_selection.page.dart fix(deps): update dependency auto_route to v9 (#11566) 2024-08-06 12:50:20 -05:00
album_asset_selection.page.dart fix(deps): update dependency auto_route to v9 (#11566) 2024-08-06 12:50:20 -05:00
album_options.page.dart feat(mobile): new mobile UI (#12582) 2024-10-10 15:44:14 +07:00
album_shared_user_selection.page.dart feat(mobile): new mobile UI (#12582) 2024-10-10 15:44:14 +07:00
album_viewer.page.dart feat(mobile): new mobile UI (#12582) 2024-10-10 15:44:14 +07:00
app_log.page.dart feat(mobile): add support for material themes (#11560) 2024-08-06 14:20:27 +00:00
app_log_detail.page.dart feat(mobile): add support for material themes (#11560) 2024-08-06 14:20:27 +00:00
create_album.page.dart feat(mobile): new mobile UI (#12582) 2024-10-10 15:44:14 +07:00
download_panel.dart feat(mobile): enhance download operations (#12973) 2024-09-29 08:22:02 +00:00
gallery_viewer.page.dart feat(mobile): enhance download operations (#12973) 2024-09-29 08:22:02 +00:00
headers_settings.page.dart chore(mobile): Flutter 3.24 (#11633) 2024-08-15 14:53:37 -05:00
large_leading_tile.dart feat(mobile): new mobile UI (#12582) 2024-10-10 15:44:14 +07:00
settings.page.dart fix(mobile): fixes on language change (#14089) 2024-11-19 12:09:29 -06:00
splash_screen.page.dart fix(mobile): mobile logging out randomly (#11431) 2024-07-30 13:15:48 -05:00
tab_controller.page.dart chore(mobile): proper new UI layout for tablet (#13650) 2024-10-21 13:39:18 -05:00
video_viewer.page.dart chore(mobile): Flutter 3.24 (#11633) 2024-08-15 14:53:37 -05:00