1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-04 02:46:47 +01:00
immich/mobile
Azsde 8a421eb778
fix (mobile): Fix slow album thumbnail generation for album picker (#3905)
* [BUGFIX] Fix slow album thumbnail generation

When generating the thumbnail of an album, all of the pictures of the
album are retrieved but only the first picture of the album is used.

Retrieving all of the pictures of the album at once can cause huge performance
issues on large albums.

Since only the first picture is used to generate the thumbnail, this commit
uses the getAssetListPaged method instead of getAssetListRange, effectively
retrieving only the first picture of the album.

* [DEVMINOR] Remove unecessary check

As we already check for the number of assets in the album, when
fetching assets using `album.getAssetListPaged` the returned result
won't be empty.

---------

Co-authored-by: Azsde <aelkaim@pixium-vision.com>
2023-09-13 22:32:06 +07:00
..
.fvm chore(mobile): Bump to Flutter 3.13 (#3767) 2023-08-18 17:52:40 -05:00
.isar@6643d064ab chore(mobile): update isar (#2571) 2023-05-26 08:09:44 -05:00
.vscode fix(mobile): Fix background backup on iOS (#4038) 2023-09-11 17:31:15 +07:00
android chore: post release 2023-09-13 17:27:31 +07:00
assets chore(mobile): update translation 2023-09-13 11:40:59 +07:00
fonts feat(mobile): memories (#2988) 2023-06-27 16:00:20 -05:00
integration_test refactor(mobile): migrate all Hive boxes to Isar database (#2036) 2023-03-22 20:36:44 -05:00
ios chore: post release 2023-09-13 17:27:31 +07:00
lib fix (mobile): Fix slow album thumbnail generation for album picker (#3905) 2023-09-13 22:32:06 +07:00
openapi Version v1.78.0 2023-09-13 08:24:02 +00:00
scripts add fdroid isar build script (#2100) 2023-03-30 10:31:44 +02:00
test feat(mobile): efficient asset sync (#3945) 2023-09-10 14:51:18 +02:00
.gitignore chore(mobile): update isar (#2571) 2023-05-26 08:09:44 -05:00
.metadata Optimize android's Gradle settings and clean up mobile source code (#240) 2022-06-22 00:23:35 -05:00
analysis_options.yaml Refactor mobile to use OpenApi generated SDK (#336) 2022-07-13 07:23:48 -05:00
flutter_01.png feat: Add description (#2237) 2023-04-13 10:22:06 -05:00
flutter_native_splash.yaml fix(mobile): Added flutter native splash and splash screens (#1520) 2023-02-06 00:41:07 -06:00
makefile feat(web,server): user memory settings (#3628) 2023-08-09 21:01:16 -05:00
pubspec.lock feat(mobile): map view (#3661) 2023-08-27 05:07:35 +00:00
pubspec.yaml Version v1.78.0 2023-09-13 08:24:02 +00:00
README.md Update readme 2022-02-07 23:55:30 -06:00

Immich Mobile Application - Flutter