|
@@ -178,6 +178,7 @@ class SyncService {
|
|
if (onlyLocal.isNotEmpty) {
|
|
if (onlyLocal.isNotEmpty) {
|
|
for (final Asset a in onlyLocal) {
|
|
for (final Asset a in onlyLocal) {
|
|
a.remoteId = null;
|
|
a.remoteId = null;
|
|
|
|
+ a.isTrashed = false;
|
|
}
|
|
}
|
|
await _db.assets.putAll(onlyLocal);
|
|
await _db.assets.putAll(onlyLocal);
|
|
}
|
|
}
|