Properly reset on demand state

This commit is contained in:
M66B 2019-02-28 11:03:14 +00:00
parent 6692aa0179
commit 693f6d91ae
1 changed files with 4 additions and 2 deletions

View File

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