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/pages/library
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
..
partner feat(mobile): new mobile UI (#12582) 2024-10-10 15:44:14 +07:00
people chore(mobile): proper new UI layout for tablet (#13650) 2024-10-21 13:39:18 -05:00
places chore(mobile): search page minor enhancements (#13403) 2024-10-14 09:50:07 +07:00
shared_link feat(mobile): new mobile UI (#12582) 2024-10-10 15:44:14 +07:00
archive.page.dart deps(mobile): update dependency auto_route to v8 (#9456) 2024-05-14 14:07:31 -05:00
favorite.page.dart chore(mobile): restrict isar use via CI checks (#12840) 2024-09-22 09:24:08 -04:00
library.page.dart fix(mobile): fixes on language change (#14089) 2024-11-19 12:09:29 -06:00
local_albums.page.dart feat(mobile): new mobile UI (#12582) 2024-10-10 15:44:14 +07:00
trash.page.dart fix(mobile): trash translations (#11761) 2024-08-14 08:21:59 -05:00