mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
Only use prefs after doing ApplicationlessInjection
This commit is contained in:
parent
dac6a15e60
commit
15b6a5e16e
1 changed files with 1 additions and 1 deletions
|
|
@ -60,8 +60,8 @@ public class FileProcessor implements SimilarImageDialogFragment.onResponse{
|
||||||
this.mediaUri = mediaUri;
|
this.mediaUri = mediaUri;
|
||||||
this.contentResolver = contentResolver;
|
this.contentResolver = contentResolver;
|
||||||
this.context = context;
|
this.context = context;
|
||||||
useExtStorage = prefs.getBoolean("useExternalStorage", true);
|
|
||||||
ApplicationlessInjection.getInstance(context.getApplicationContext()).getCommonsApplicationComponent().inject(this);
|
ApplicationlessInjection.getInstance(context.getApplicationContext()).getCommonsApplicationComponent().inject(this);
|
||||||
|
useExtStorage = prefs.getBoolean("useExternalStorage", true);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue