mirror of https://github.com/M66B/FairEmail.git
Fetch = syncing
This commit is contained in:
parent
c05a71cd91
commit
e0164e02ec
|
@ -286,6 +286,9 @@ class Core {
|
|||
if (message != null)
|
||||
db.message().setMessageError(message.id, null);
|
||||
|
||||
if (EntityOperation.FETCH.equals(op.name))
|
||||
db.folder().setFolderSyncState(op.folder, "syncing");
|
||||
|
||||
db.operation().setOperationState(op.id, "executing");
|
||||
for (TupleOperationEx s : similar.keySet())
|
||||
db.operation().setOperationState(s.id, "executing");
|
||||
|
@ -559,6 +562,8 @@ class Core {
|
|||
try {
|
||||
db.beginTransaction();
|
||||
|
||||
if (EntityOperation.FETCH.equals(op.name))
|
||||
db.folder().setFolderSyncState(op.folder, null);
|
||||
db.operation().setOperationState(op.id, null);
|
||||
for (TupleOperationEx s : similar.keySet())
|
||||
db.operation().setOperationState(s.id, null);
|
||||
|
|
Loading…
Reference in New Issue