mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
feat(mobile): upload image assets before videos (#3958)
* feat(mobile): upload image assets before videos (#3872) * feat(mobile): upload image assets before videos * mobile: sort by creation date before uploading assets * feat(mobile): upload newest assets first for foreground upload * feat(mobile): upload images before videos only for background backup
This commit is contained in:
parent
74d34b4f6c
commit
73ad0d468f
2 changed files with 17 additions and 3 deletions
|
|
@ -459,6 +459,7 @@ class BackgroundService {
|
|||
notifySingleProgress ? _onProgress : (sent, total) {},
|
||||
notifySingleProgress ? _onSetCurrentBackupAsset : (asset) {},
|
||||
_onBackupError,
|
||||
sortAssets: true,
|
||||
);
|
||||
if (!ok && !_cancellationToken!.isCancelled) {
|
||||
_showErrorNotification(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue