mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-06 09:03:56 +02:00
Fetch = syncing
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user