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:
parent
1a39e4d764
commit
680ab8bd61
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue