mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-01 18:41:20 +01:00
Reset account/identity error on inline sync disable
This commit is contained in:
@@ -244,6 +244,8 @@ public class AdapterAccount extends RecyclerView.Adapter<AdapterAccount.ViewHold
|
||||
boolean sync = args.getBoolean("sync");
|
||||
|
||||
DB db = DB.getInstance(context);
|
||||
if (!sync)
|
||||
db.account().setAccountError(id, null);
|
||||
db.account().setAccountSynchronize(id, sync);
|
||||
|
||||
return sync;
|
||||
|
||||
Reference in New Issue
Block a user