mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 14:17:03 +02:00
Debug file picker
This commit is contained in:
@@ -375,7 +375,8 @@ public class ApplicationEx extends Application
|
||||
if (version < BuildConfig.VERSION_CODE)
|
||||
editor.remove("crash_report_count");
|
||||
|
||||
editor.remove("photo_picker");
|
||||
if (!BuildConfig.DEBUG)
|
||||
editor.remove("photo_picker");
|
||||
|
||||
if (!BuildConfig.TEST_RELEASE)
|
||||
editor.remove("test1").remove("test2").remove("test3").remove("test4").remove("test5");
|
||||
|
||||
@@ -519,7 +519,7 @@ public class FragmentOptionsBehavior extends FragmentBase implements SharedPrefe
|
||||
}
|
||||
});
|
||||
|
||||
swPhotoPicker.setVisibility(Helper.hasPhotoPicker() && false ? View.VISIBLE : View.GONE);
|
||||
swPhotoPicker.setVisibility(Helper.hasPhotoPicker() && BuildConfig.DEBUG ? View.VISIBLE : View.GONE);
|
||||
swPhotoPicker.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
|
||||
@Override
|
||||
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
|
||||
|
||||
Reference in New Issue
Block a user