Arrange the code lines of the MainActivity class. If the value of the variable isLogged is true, the MainScreen composable will be displayed, otherwise the LoginScreen composable will be shown.
Don't forget about proper indents.
Arrange the code lines of the MainActivity class. If the value of the variable isLogged is true, the MainScreen composable will be displayed, otherwise the LoginScreen composable will be shown.
Don't forget about proper indents.
}
HyperskillTheme {
LogginScreen()
if (isLogged == true) {
} else {
}
MainScreen()
}
setContent {
Create a free account to access the full topic