High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(mobile): reset trashed state for local assets on remote asset deletion (#4501)
shenlong634169235a6b
diff --git a/mobile/lib/shared/services/sync.service.dart b/mobile/lib/shared/services/sync.service.dartindex d12a68ffde..b3a00429a3 100644--- a/mobile/lib/shared/services/sync.service.dart+++ b/mobile/lib/shared/services/sync.service.dart@@ -178,6 +178,7 @@ class SyncService {if (onlyLocal.isNotEmpty) {for (final Asset a in onlyLocal) {a.remoteId = null;+ a.isTrashed = false;}await _db.assets.putAll(onlyLocal);}