From 2568876fcadf3d108d8f3b169556335d9eef6c2e Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 12 Feb 2020 17:34:31 +0100 Subject: [PATCH] Small improvement --- app/src/main/java/eu/faircode/email/Core.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/Core.java b/app/src/main/java/eu/faircode/email/Core.java index c8e87badb4..152651e3ae 100644 --- a/app/src/main/java/eu/faircode/email/Core.java +++ b/app/src/main/java/eu/faircode/email/Core.java @@ -253,11 +253,9 @@ class Core { if (message != null) db.message().setMessageError(message.id, null); - if (!EntityOperation.SYNC.equals(op.name)) { - db.operation().setOperationState(op.id, "executing"); - for (TupleOperationEx s : similar.keySet()) - db.operation().setOperationState(s.id, "executing"); - } + db.operation().setOperationState(op.id, "executing"); + for (TupleOperationEx s : similar.keySet()) + db.operation().setOperationState(s.id, "executing"); db.setTransactionSuccessful(); } finally {