mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 23:12:55 +00:00
Disable app chooser by default
This commit is contained in:
parent
56c470f03f
commit
ed97b03511
2 changed files with 2 additions and 2 deletions
|
@ -2630,7 +2630,7 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
|
||||||
swDupMsgId.setChecked(prefs.getBoolean("dup_msgids", false));
|
swDupMsgId.setChecked(prefs.getBoolean("dup_msgids", false));
|
||||||
swThreadByRef.setChecked(prefs.getBoolean("thread_byref", true));
|
swThreadByRef.setChecked(prefs.getBoolean("thread_byref", true));
|
||||||
swMdn.setChecked(prefs.getBoolean("mdn", swExperiments.isChecked()));
|
swMdn.setChecked(prefs.getBoolean("mdn", swExperiments.isChecked()));
|
||||||
swAppChooser.setChecked(prefs.getBoolean("app_chooser", true));
|
swAppChooser.setChecked(prefs.getBoolean("app_chooser", false));
|
||||||
swDeleteConfirmation.setChecked(prefs.getBoolean("delete_confirmation", true));
|
swDeleteConfirmation.setChecked(prefs.getBoolean("delete_confirmation", true));
|
||||||
etKeywords.setText(prefs.getString("global_keywords", null));
|
etKeywords.setText(prefs.getString("global_keywords", null));
|
||||||
swTestIab.setChecked(prefs.getBoolean("test_iab", false));
|
swTestIab.setChecked(prefs.getBoolean("test_iab", false));
|
||||||
|
|
|
@ -942,7 +942,7 @@ public class Helper {
|
||||||
|
|
||||||
static Intent getChooser(Context context, Intent intent) {
|
static Intent getChooser(Context context, Intent intent) {
|
||||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||||
boolean app_chooser = prefs.getBoolean("app_chooser", true);
|
boolean app_chooser = prefs.getBoolean("app_chooser", false);
|
||||||
if (!app_chooser)
|
if (!app_chooser)
|
||||||
return intent;
|
return intent;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue