mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 13:45:35 +03:00
Fix uninitialized preferences in MainApp
Fixes #3728 Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
This commit is contained in:
parent
bde010b84b
commit
4429af9189
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue