1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-03-12 15:19:04 +00:00

Fixed resetting primary identities

This commit is contained in:
M66B 2021-03-21 14:53:30 +01:00
parent 1a39e4d764
commit 680ab8bd61

View file

@ -278,7 +278,7 @@ public class AdapterIdentity extends RecyclerView.Adapter<AdapterIdentity.ViewHo
try {
db.beginTransaction();
if (identity.primary)
if (primary)
db.identity().resetPrimary(account);
db.identity().setIdentityPrimary(id, primary);