trigger complete sync on deleting files from just ente

This commit is contained in:
Neeraj Gupta 2021-10-20 20:20:51 +05:30
parent d4070f26f9
commit 9cf348bd3b
No known key found for this signature in database
GPG key ID: 3C5A1684DC1729E1

View file

@ -157,6 +157,7 @@ Future<void> deleteFilesFromRemoteOnly(
}
Bus.instance
.fire(LocalPhotosUpdatedEvent(files, type: EventType.deleted));
SyncService.instance.sync();
await dialog.hide();
RemoteSyncService.instance.sync(silently: true);
}