mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-01 01:06:11 +00:00
Small improvement
This commit is contained in:
parent
20a1e19540
commit
b5aa94ebe0
1 changed files with 1 additions and 2 deletions
|
@ -907,8 +907,6 @@ public class FragmentOptionsBackup extends FragmentBase implements SharedPrefere
|
|||
}
|
||||
|
||||
if (import_accounts) {
|
||||
EntityAccount primary = db.account().getPrimaryAccount();
|
||||
|
||||
// Accounts
|
||||
JSONArray jaccounts = jimport.getJSONArray("accounts");
|
||||
for (int a = 0; a < jaccounts.length(); a++) {
|
||||
|
@ -949,6 +947,7 @@ public class FragmentOptionsBackup extends FragmentBase implements SharedPrefere
|
|||
Long aid = account.id;
|
||||
account.id = null;
|
||||
|
||||
EntityAccount primary = db.account().getPrimaryAccount();
|
||||
if (primary != null)
|
||||
account.primary = false;
|
||||
|
||||
|
|
Loading…
Reference in a new issue