mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-28 03:46:00 +01:00
Fix folder sync state / deleting operations
This commit is contained in:
@@ -228,7 +228,11 @@ public class AdapterOperation extends RecyclerView.Adapter<AdapterOperation.View
|
||||
if (operation == null)
|
||||
return null;
|
||||
|
||||
db.operation().deleteOperation(operation.id);
|
||||
if (db.operation().deleteOperation(operation.id) > 0)
|
||||
operation.cleanup(context, false);
|
||||
|
||||
if (EntityOperation.SYNC.equals(operation.name))
|
||||
db.folder().setFolderSyncState(operation.folder, null);
|
||||
|
||||
db.folder().setFolderError(operation.folder, null);
|
||||
if (operation.message != null)
|
||||
|
||||
Reference in New Issue
Block a user