Skip to content

Commit d5a6788

Browse files
committed
release: [2.2.2] versionCode 16
Signed-off-by: lennoard <[email protected]>
1 parent 4d4a0c8 commit d5a6788

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

app/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ android {
1717
applicationId = AppConfig.appId
1818
minSdk = AppConfig.minSdkVersion
1919
targetSdk = AppConfig.targetSdkVersion
20-
versionCode = 15
21-
versionName = "2.2.1"
20+
versionCode = 16
21+
versionName = "2.2.2"
2222
vectorDrawables.useSupportLibrary = true
2323
resourceConfigurations.addAll(listOf("en", "de", "pt-rBR"))
2424
javaCompileOptions {

app/src/main/kotlin/com/androidvip/sysctlgui/ui/params/user/UserParamsScreen.kt

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -128,12 +128,14 @@ private fun SwipeToDismissContent(
128128
val currentParam by rememberUpdatedState(newValue = param)
129129
val dismissState = rememberSwipeToDismissBoxState(
130130
confirmValueChange = {
131-
return@rememberSwipeToDismissBoxState if (it == SwipeToDismissBoxValue.EndToStart) {
132-
onDelete(currentParam)
133-
true
134-
} else {
135-
false
131+
fun getResultFromValueChange(): Boolean {
132+
if (it == SwipeToDismissBoxValue.EndToStart) {
133+
onDelete(currentParam)
134+
return true
135+
}
136+
return false
136137
}
138+
getResultFromValueChange()
137139
}
138140
)
139141

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22
plugins {
3-
id("com.google.devtools.ksp") version "1.9.10-1.0.13" apply false
3+
id("com.google.devtools.ksp") version "1.9.24-1.0.20" apply false
44
}
55

66
buildscript {

0 commit comments

Comments
 (0)