Skip to content

Commit

Permalink
Fix settings button overlap
Browse files Browse the repository at this point in the history
  • Loading branch information
egorikftp committed Oct 2, 2024
1 parent 64dcaa3 commit 7b68a7a
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,6 @@ private fun IntroScreenUI(
onModeChange: (Mode) -> Unit,
) {
Box {
IconButton(
modifier = Modifier
.padding(end = 8.dp)
.align(Alignment.TopEnd),
imageVector = ValkyrieIcons.Settings,
iconSize = 24.dp,
onClick = openSettings,
)
Column(
modifier = Modifier
.fillMaxSize()
Expand Down Expand Up @@ -134,6 +126,14 @@ private fun IntroScreenUI(
}
WeightSpacer(weight = 0.7f)
}
IconButton(
modifier = Modifier
.padding(end = 8.dp)
.align(Alignment.TopEnd),
imageVector = ValkyrieIcons.Settings,
iconSize = 24.dp,
onClick = openSettings,
)
Text(
modifier = Modifier
.align(Alignment.BottomEnd)
Expand Down

0 comments on commit 7b68a7a

Please sign in to comment.