1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2024-12-28 22:51:59 +00:00
immich/mobile/lib
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
..
constants feat(mobile): exclude locales from overpass font (#14158) 2024-11-19 09:36:46 -06:00
entities chore(mobile): upgrade gradle (#13901) 2024-11-05 10:34:24 -06:00
extensions fix(mobile): share to error (#13044) 2024-09-30 20:51:47 +07:00
interfaces fix(mobile): Fix minor issues with downloading assets (#13609) 2024-10-20 12:56:02 -05:00
mixins refactor(mobile): move error details to separate DB column (#6898) 2024-02-23 21:38:57 -06:00
models refactor(mobile): backup info box (#14171) 2024-11-15 17:16:52 -05:00
pages fix(mobile): fixes on language change (#14089) 2024-11-19 12:09:29 -06:00
providers fix(mobile): fixes on language change (#14089) 2024-11-19 12:09:29 -06:00
repositories fix(mobile): Fix minor issues with downloading assets (#13609) 2024-10-20 12:56:02 -05:00
routing chore(mobile): search page minor enhancements (#13403) 2024-10-14 09:50:07 +07:00
services fix(mobile): use sets in album refresh, concurrent futures (#14193) 2024-11-18 09:26:23 -06:00
utils feat(mobile): exclude locales from overpass font (#14158) 2024-11-19 09:36:46 -06:00
widgets feat(mobile): exclude locales from overpass font (#14158) 2024-11-19 09:36:46 -06:00
main.dart fix(mobile): fixes on language change (#14089) 2024-11-19 12:09:29 -06:00