Removed photo picker option

pull/213/head
M66B 1 year ago
parent 4ff703da1c
commit f23fb373ff

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

@ -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() { swPhotoPicker.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
@Override @Override
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) { public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {

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

Loading…
Cancel
Save