Show Snackbar once the verification is finish in the correct screen (#812)

This commit is contained in:
Benoit Marty 2023-07-07 15:34:15 +02:00
parent 03a80292e5
commit af323d8636
5 changed files with 32 additions and 4 deletions

View file

@ -50,6 +50,7 @@ fun PreferenceView(
title: String,
modifier: Modifier = Modifier,
onBackPressed: () -> Unit = {},
snackbarHost: @Composable () -> Unit = {},
content: @Composable ColumnScope.() -> Unit,
) {
Scaffold(
@ -64,6 +65,7 @@ fun PreferenceView(
onBackPressed = onBackPressed,
)
},
snackbarHost = snackbarHost,
content = {
Column(
modifier = Modifier