diff --git a/src/main/java/com/owncloud/android/MainApp.java b/src/main/java/com/owncloud/android/MainApp.java index d8fb558be0..b8905ceb20 100644 --- a/src/main/java/com/owncloud/android/MainApp.java +++ b/src/main/java/com/owncloud/android/MainApp.java @@ -130,7 +130,7 @@ public class MainApp extends MultiDexApplication { DisplayUtils.useCompatVectorIfNeeded(); sharedPreferences = PreferenceManager.getDefaultSharedPreferences(getApplicationContext()); - + preferences = PreferenceManager.fromContext(this); fixStoragePath(); MainApp.storagePath = sharedPreferences.getString(SettingsActivity.PreferenceKeys.STORAGE_PATH,