diff --git a/app/src/main/java/com/launium/mcping/ui/settings/Preferences.kt b/app/src/main/java/com/launium/mcping/ui/settings/Preferences.kt index 3389276..e1ba0ac 100644 --- a/app/src/main/java/com/launium/mcping/ui/settings/Preferences.kt +++ b/app/src/main/java/com/launium/mcping/ui/settings/Preferences.kt @@ -48,11 +48,11 @@ object Preferences { return if (stored > 0) { stored } else { - 5 + 16 } } set(value) { - if (value == 5) { // set to default + if (value == 16) { // set to default sharedPreferences.edit().remove(MAX_CONCURRENT_PINGS).apply() } else if (value > 0) { sharedPreferences.edit().putInt(MAX_CONCURRENT_PINGS, value).apply() diff --git a/build.gradle.kts b/build.gradle.kts index 50c3b90..7983f3c 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,6 +1,6 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. plugins { - id("com.android.application") version "8.1.2" apply false + id("com.android.application") version "8.1.3" apply false id("org.jetbrains.kotlin.android") version "1.9.0" apply false id("com.google.devtools.ksp") version "1.9.0-1.0.12" apply false } \ No newline at end of file