1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-27 18:27:43 +00:00

Properly reset on demand state

This commit is contained in:
M66B 2019-02-28 11:03:14 +00:00
parent 6692aa0179
commit 693f6d91ae

View file

@ -299,10 +299,12 @@ public class ServiceUI extends IntentService {
Log.e(ex);
}
db.account().setAccountState(account.id, null);
db.folder().setFolderState(folder.id, null);
Log.i(account.name + " closed");
}
db.account().setAccountState(account.id, null);
db.folder().setFolderState(folder.id, null);
db.folder().setFolderSyncState(folder.id, null);
}
}