Skip to content

Commit

Permalink
Snackbar network connection to indefinite
Browse files Browse the repository at this point in the history
  • Loading branch information
JackEblan committed Sep 1, 2024
1 parent ba093f4 commit 71b2e28
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
*/
package com.eblan.socialworkreviewer.navigation

import androidx.compose.material3.SnackbarDuration
import androidx.compose.material3.SnackbarHostState
import androidx.compose.runtime.Composable
import androidx.compose.runtime.remember
Expand Down Expand Up @@ -78,6 +79,7 @@ fun SwrNavHost(modifier: Modifier = Modifier) {
snackbarHostState.showSnackbar(
message = message,
withDismissAction = true,
duration = SnackbarDuration.Indefinite,
)
}
},
Expand Down

0 comments on commit 71b2e28

Please sign in to comment.