Disable mirror switching by default
This commit is contained in:
@@ -188,7 +188,7 @@ class AppSettings @Inject constructor(@ApplicationContext context: Context) {
|
|||||||
set(value) = prefs.edit { putBoolean(KEY_PROTECT_APP_BIOMETRIC, value) }
|
set(value) = prefs.edit { putBoolean(KEY_PROTECT_APP_BIOMETRIC, value) }
|
||||||
|
|
||||||
val isMirrorSwitchingAvailable: Boolean
|
val isMirrorSwitchingAvailable: Boolean
|
||||||
get() = prefs.getBoolean(KEY_MIRROR_SWITCHING, true)
|
get() = prefs.getBoolean(KEY_MIRROR_SWITCHING, false)
|
||||||
|
|
||||||
val isExitConfirmationEnabled: Boolean
|
val isExitConfirmationEnabled: Boolean
|
||||||
get() = prefs.getBoolean(KEY_EXIT_CONFIRM, false)
|
get() = prefs.getBoolean(KEY_EXIT_CONFIRM, false)
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
android:title="@string/images_proxy_title" />
|
android:title="@string/images_proxy_title" />
|
||||||
|
|
||||||
<SwitchPreferenceCompat
|
<SwitchPreferenceCompat
|
||||||
android:defaultValue="true"
|
android:defaultValue="false"
|
||||||
android:key="mirror_switching"
|
android:key="mirror_switching"
|
||||||
android:summary="@string/mirror_switching_summary"
|
android:summary="@string/mirror_switching_summary"
|
||||||
android:title="@string/mirror_switching" />
|
android:title="@string/mirror_switching" />
|
||||||
|
|||||||
Reference in New Issue
Block a user