mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 06:08:31 +02:00
Fixed resetting primary identities
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user