mirror of https://github.com/M66B/FairEmail.git
Properly reset on demand state
This commit is contained in:
parent
6692aa0179
commit
693f6d91ae
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue