diff --git a/app/core/src/main/java/com/fsck/k9/preferences/SettingsImporter.java b/app/core/src/main/java/com/fsck/k9/preferences/SettingsImporter.java index 1b28729f3..661ab013c 100644 --- a/app/core/src/main/java/com/fsck/k9/preferences/SettingsImporter.java +++ b/app/core/src/main/java/com/fsck/k9/preferences/SettingsImporter.java @@ -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;