Allow multiple primary accounts

This commit is contained in:
M66B
2018-12-27 17:01:07 +00:00
parent 3304732e9e
commit 38d4c4ae88
3 changed files with 20 additions and 8 deletions

View File

@@ -551,7 +551,7 @@ public class FragmentIdentity extends FragmentEx {
identity.error = null;
if (identity.primary)
db.identity().resetPrimary();
db.identity().resetPrimary(account);
if (update)
db.identity().updateIdentity(identity);