From 366e4f0da8d3ca40a47482b0fac2f2aeb8b5fd05 Mon Sep 17 00:00:00 2001 From: Koitharu Date: Mon, 16 Oct 2023 12:53:21 +0300 Subject: [PATCH] Disable mirror switching by default --- .../main/kotlin/org/koitharu/kotatsu/core/prefs/AppSettings.kt | 2 +- app/src/main/res/xml/pref_network.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/kotlin/org/koitharu/kotatsu/core/prefs/AppSettings.kt b/app/src/main/kotlin/org/koitharu/kotatsu/core/prefs/AppSettings.kt index 92ae4dfde..30d772688 100644 --- a/app/src/main/kotlin/org/koitharu/kotatsu/core/prefs/AppSettings.kt +++ b/app/src/main/kotlin/org/koitharu/kotatsu/core/prefs/AppSettings.kt @@ -188,7 +188,7 @@ class AppSettings @Inject constructor(@ApplicationContext context: Context) { set(value) = prefs.edit { putBoolean(KEY_PROTECT_APP_BIOMETRIC, value) } val isMirrorSwitchingAvailable: Boolean - get() = prefs.getBoolean(KEY_MIRROR_SWITCHING, true) + get() = prefs.getBoolean(KEY_MIRROR_SWITCHING, false) val isExitConfirmationEnabled: Boolean get() = prefs.getBoolean(KEY_EXIT_CONFIRM, false) diff --git a/app/src/main/res/xml/pref_network.xml b/app/src/main/res/xml/pref_network.xml index 2d3bd6e38..90e0ddced 100644 --- a/app/src/main/res/xml/pref_network.xml +++ b/app/src/main/res/xml/pref_network.xml @@ -41,7 +41,7 @@ android:title="@string/images_proxy_title" />