Last active
October 9, 2022 14:51
-
-
Save sergei-mikhailovskii-idf/f62887a22d69da0f92798ecb7e4698e9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Composable | |
fun SplashScreen(navController: NavController) { | |
... | |
LaunchedEffect(key1 = null) { | |
launch { | |
viewModel.failureSharedFlow.collect { | |
// TODO - show snackbar with error message | |
} | |
} | |
} | |
Box { | |
... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment