Fix importing multiple accounts

This commit is contained in:
cketti 2022-04-04 19:30:15 +02:00
parent 0e78b8aae6
commit 6721a15663

View file

@ -229,7 +229,7 @@ public class SettingsImporter {
editor = preferences.createStorageEditor();
String newUuid = importResult.imported.uuid;
String oldAccountUuids = storage.getString("accountUuids", "");
String oldAccountUuids = preferences.getStorage().getString("accountUuids", "");
String newAccountUuids = (oldAccountUuids.length() > 0) ?
oldAccountUuids + "," + newUuid : newUuid;