Skip to content

Commit

Permalink
Update ToastOverlay.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinSchildhorn committed Jan 1, 2024
1 parent 42d1047 commit 890d709
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ fun ToastOverlay(
onClose: () -> Unit,
) {
LaunchedEffect(key1 = visible) {
delay(2000)
delay(5000)
onClose()
}

Expand All @@ -56,7 +56,7 @@ fun ToastOverlay(
horizontalAlignment = Alignment.CenterHorizontally
) {
Spacer(Modifier)
Column {
Column(modifier = Modifier.padding(horizontal = Padding.STANDARD.dp)) {
Box(
modifier = Modifier
.clip(RoundedCornerShape(25.dp))
Expand Down

0 comments on commit 890d709

Please sign in to comment.