From 73cea59691c36d3cceb3a1e843997ba7f28ef13d Mon Sep 17 00:00:00 2001 From: Koitharu Date: Fri, 6 Sep 2024 07:45:27 +0300 Subject: [PATCH] Change pref key for ProxyType --- app/build.gradle | 4 ++-- .../kotlin/org/koitharu/kotatsu/core/prefs/AppSettings.kt | 2 +- app/src/main/res/xml/pref_proxy.xml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 7798d0777..fc714b23a 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -16,8 +16,8 @@ android { applicationId 'org.koitharu.kotatsu' minSdk = 21 targetSdk = 35 - versionCode = 667 - versionName = '7.5.1' + versionCode = 668 + versionName = '7.5.2' generatedDensities = [] testInstrumentationRunner 'org.koitharu.kotatsu.HiltTestRunner' ksp { 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 ea451689e..1cff809e4 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 @@ -669,7 +669,7 @@ class AppSettings @Inject constructor(@ApplicationContext context: Context) { const val KEY_READER_AUTOSCROLL_SPEED = "as_speed" const val KEY_MIRROR_SWITCHING = "mirror_switching" const val KEY_PROXY = "proxy" - const val KEY_PROXY_TYPE = "proxy_type" + const val KEY_PROXY_TYPE = "proxy_type_2" const val KEY_PROXY_ADDRESS = "proxy_address" const val KEY_PROXY_PORT = "proxy_port" const val KEY_PROXY_AUTH = "proxy_auth" diff --git a/app/src/main/res/xml/pref_proxy.xml b/app/src/main/res/xml/pref_proxy.xml index 75f530990..97dd22002 100644 --- a/app/src/main/res/xml/pref_proxy.xml +++ b/app/src/main/res/xml/pref_proxy.xml @@ -7,7 +7,7 @@ android:defaultValue="DIRECT" android:entries="@array/proxy_types" android:entryValues="@array/values_proxy_types" - android:key="proxy_type" + android:key="proxy_type_2" android:title="@string/type" app:useSimpleSummaryProvider="true" />