diff --git a/app/src/main/java/eu/faircode/email/EntityOperation.java b/app/src/main/java/eu/faircode/email/EntityOperation.java index 6ba5cafee9..9e08745089 100644 --- a/app/src/main/java/eu/faircode/email/EntityOperation.java +++ b/app/src/main/java/eu/faircode/email/EntityOperation.java @@ -452,7 +452,7 @@ public class EntityOperation { DB db = DB.getInstance(context); boolean force = false; - List ops = db.operation().getOperationsByFolder(fid, EntityOperation.SYNC); + List ops = db.operation().getOperationsByFolder(fid, SYNC); if (ops != null) for (EntityOperation op : ops) if (EntityFolder.isSyncForced(op.args)) { @@ -460,7 +460,7 @@ public class EntityOperation { break; } - db.operation().deleteOperation(fid, EntityOperation.SYNC); + db.operation().deleteOperation(fid, SYNC); sync(context, fid, false, force); }