mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 13:47:05 +02:00
Reset account/identity error on inline sync disable
This commit is contained in:
@@ -192,6 +192,8 @@ public class AdapterIdentity extends RecyclerView.Adapter<AdapterIdentity.ViewHo
|
||||
boolean sync = args.getBoolean("sync");
|
||||
|
||||
DB db = DB.getInstance(context);
|
||||
if (!sync)
|
||||
db.identity().setIdentityError(id, null);
|
||||
db.identity().setIdentitySynchronize(id, sync);
|
||||
|
||||
return sync;
|
||||
|
||||
Reference in New Issue
Block a user