mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-25 07:23:03 +00:00
Debug file picker
This commit is contained in:
parent
f23fb373ff
commit
9a6f3d1d13
2 changed files with 3 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue