1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-01 16:41:59 +00:00
immich/mobile/lib/pages
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
..
albums feat(mobile): new mobile UI (#12582) 2024-10-10 15:44:14 +07:00
backup feat(mobile): new mobile UI (#12582) 2024-10-10 15:44:14 +07:00
common fix(mobile): fixes on language change (#14089) 2024-11-19 12:09:29 -06:00
editing feat(mobile): new mobile UI (#12582) 2024-10-10 15:44:14 +07:00
library fix(mobile): fixes on language change (#14089) 2024-11-19 12:09:29 -06:00
login fix(mobile): use a valid OAuth callback URL (#10832) 2024-08-28 11:30:06 -05:00
onboarding deps(mobile): update dependency auto_route to v8 (#9456) 2024-05-14 14:07:31 -05:00
photos feat(mobile): new mobile UI (#12582) 2024-10-10 15:44:14 +07:00
search fix(mobile): make search page scrollable (#14228) 2024-11-19 17:59:26 +00:00