1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-28 11:15:54 +02:00
immich/mobile/lib/modules/settings
Matthias Rupp 7a1ae8691e
feat(mobile): Various minor performance improvements (#1176)
* Improve scroll performance by introducing repaint boundaries and moving more calculations to providers.

* Add error handing for malformed dates.

* Remove unused method

* Use compute in different places to improve app performance during heavy tasks

* Fix test

* Refactor `List<RenderAssetGridElement>` to separate `RenderList` class and make `fromAssetGroups` a static method of this class.

* Fix loading indicator bug

* Use provider directly

* `RenderList` refactoring

* `AssetNotifier` refactoring

* Move `combine` to static private method

* Extract compute methods in cache services to static private methods.

* Use `tryParse` instead of `parse` with try/catch for dates.

* Fix bug in caching mechanism.

* Fixed state not being used to trigger conditional rendering

* styling

* Corrected state

Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2023-01-18 09:59:23 -06:00
..
models Add settings screen on mobile (#463) 2022-08-13 15:51:09 -05:00
providers Add mobile dark mode and user setting (#468) 2022-08-15 18:53:30 -05:00
services feat(mobile): configure detail viewer asset loading (#1044) 2022-12-02 14:55:10 -06:00
ui feat(mobile): Various minor performance improvements (#1176) 2023-01-18 09:59:23 -06:00
views chore(mobile): clean up linter problems (#1000) 2022-11-21 06:13:14 -06:00