The MainActivity class

Report a typo

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.

Reorder lines using drag or arrows. Adjust indentation with left buttons
                }
              
                HyperskillTheme {
              
                LogginScreen()
              
                if (isLogged == true) {
              
                } else {
              
                }
              
                MainScreen()
              
                }
              
                setContent {
              
___

Create a free account to access the full topic