Skip to content
Snippets Groups Projects
Commit b6cd1ce3 authored by Aleksandras Kostarevas's avatar Aleksandras Kostarevas
Browse files

Hide back button in resize tutorial

parent df9df808
No related branches found
No related tags found
No related merge requests found
......@@ -93,10 +93,13 @@ val KeyboardModeAction = Action(
override fun WindowContents(keyboardShown: Boolean) {
Column {
Row(Modifier.height(ActionBarHeight)) {
IconButton(onClick = {
manager.closeActionWindow()
}) {
Icon(Icons.Default.ArrowBack, contentDescription = "Go back")
// Hide the back button in the resize tutorial
if(manager.getTutorialMode() != TutorialMode.ResizerTutorial) {
IconButton(onClick = {
manager.closeActionWindow()
}) {
Icon(Icons.Default.ArrowBack, contentDescription = "Go back")
}
}
Spacer(Modifier.weight(1.0f))
TextButton(onClick = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment