Skip to content

Commit 519cf24

Browse files
committed
chore: update dependencies
1 parent 4f707df commit 519cf24

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

build.gradle.kts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
plugins {
2-
id("com.android.application") version "8.1.4" apply false
3-
id("com.android.library") version "8.1.4" apply false
4-
id("org.jetbrains.kotlin.android") version "1.9.21" apply false
2+
id("com.android.application") version "8.2.1" apply false
3+
id("com.android.library") version "8.2.1" apply false
4+
id("org.jetbrains.kotlin.android") version "1.9.22" apply false
55
}
66

77
val libraryVersionName by extra { "1.4.0-alpha03" }
88
val libraryVersionCode by extra { 140 }
99

1010
val coreVersion by extra { "1.12.0" }
11-
val composeCompilerVersion by extra { "1.5.6" }
12-
val composeVersion by extra { "1.6.0-beta03" }
13-
val material3Version by extra { "1.2.0-beta01" }
11+
val composeCompilerVersion by extra { "1.5.8" }
12+
val composeVersion by extra { "1.6.0-rc01" }
13+
val material3Version by extra { "1.2.0-beta02" }

demo/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ android {
5757

5858
dependencies {
5959
implementation("androidx.core:core-ktx:$coreVersion")
60-
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.6.2")
60+
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.7.0")
6161
implementation("androidx.activity:activity-compose:1.8.2")
6262
implementation("androidx.compose.ui:ui:$composeVersion")
6363
implementation("androidx.compose.material:material:$composeVersion")
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Mon Aug 08 22:57:35 TRT 2022
22
distributionBase=GRADLE_USER_HOME
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
44
distributionPath=wrapper/dists
55
zipStorePath=wrapper/dists
66
zipStoreBase=GRADLE_USER_HOME

library/src/main/java/com/aliernfrog/toptoast/component/TopToastHost.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import androidx.compose.animation.*
44
import androidx.compose.animation.core.tween
55
import androidx.compose.material3.ExperimentalMaterial3Api
66
import androidx.compose.material3.SwipeToDismissBox
7-
import androidx.compose.material3.SwipeToDismissValue
8-
import androidx.compose.material3.rememberSwipeToDismissState
7+
import androidx.compose.material3.SwipeToDismissBoxValue
8+
import androidx.compose.material3.rememberSwipeToDismissBoxState
99
import androidx.compose.runtime.Composable
1010
import androidx.compose.ui.Modifier
1111
import com.aliernfrog.toptoast.state.TopToastState
@@ -38,10 +38,10 @@ fun TopToastHost(
3838
)
3939
) {
4040
if (state.allowSwipeToDismiss) SwipeToDismissBox(
41-
state = rememberSwipeToDismissState(
41+
state = rememberSwipeToDismissBoxState(
4242
confirmValueChange = {
4343
val dismissed =
44-
it == SwipeToDismissValue.StartToEnd || it == SwipeToDismissValue.EndToStart
44+
it == SwipeToDismissBoxValue.StartToEnd || it == SwipeToDismissBoxValue.EndToStart
4545
if (dismissed) state.dismissToast()
4646
true
4747
}

0 commit comments

Comments
 (0)