Removed photo picker option

This commit is contained in:
M66B 2023-08-21 08:23:30 +02:00
parent 4ff703da1c
commit f23fb373ff
3 changed files with 5 additions and 2 deletions

View File

@ -375,6 +375,8 @@ public class ApplicationEx extends Application
if (version < BuildConfig.VERSION_CODE)
editor.remove("crash_report_count");
editor.remove("photo_picker");
if (!BuildConfig.TEST_RELEASE)
editor.remove("test1").remove("test2").remove("test3").remove("test4").remove("test5");
@ -730,7 +732,7 @@ public class ApplicationEx extends Application
if (override_width)
editor.putBoolean("overview_mode", true);
editor.remove("override_width");
} else if (version < 2089){
} else if (version < 2089) {
if (!prefs.contains("auto_hide_answer"))
editor.putBoolean("auto_hide_answer", !Helper.isAccessibilityEnabled(context));
}

View File

@ -519,7 +519,7 @@ public class FragmentOptionsBehavior extends FragmentBase implements SharedPrefe
}
});
swPhotoPicker.setVisibility(Helper.hasPhotoPicker() ? View.VISIBLE : View.GONE);
swPhotoPicker.setVisibility(Helper.hasPhotoPicker() && false ? View.VISIBLE : View.GONE);
swPhotoPicker.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
@Override
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {

View File

@ -759,6 +759,7 @@
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:checked="true"
android:tag="nosuggest"
android:text="@string/title_advanced_photo_picker"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"