From 070d3aa72f70169855b39fec5b95b4118245c4ab Mon Sep 17 00:00:00 2001 From: Alexandre G Pereira Date: Tue, 20 Aug 2024 14:08:25 -0300 Subject: [PATCH] Change open github project order --- .../hunter/settings/ui/MenuScreen.kt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/feature/settings/compose/src/commonMain/kotlin/br/alexandregpereira/hunter/settings/ui/MenuScreen.kt b/feature/settings/compose/src/commonMain/kotlin/br/alexandregpereira/hunter/settings/ui/MenuScreen.kt index 5ec9f8cd..54c7cace 100644 --- a/feature/settings/compose/src/commonMain/kotlin/br/alexandregpereira/hunter/settings/ui/MenuScreen.kt +++ b/feature/settings/compose/src/commonMain/kotlin/br/alexandregpereira/hunter/settings/ui/MenuScreen.kt @@ -48,6 +48,13 @@ internal fun MenuScreen( modifier = Modifier.fillMaxSize() ) { Column(Modifier.padding(contentPadding).verticalScroll(rememberScrollState())) { + MenuItem( + text = strings.openGitHubProject, + onClick = viewIntent::onOpenGitHubProjectClick + ) + + Divider() + MenuItem( text = strings.settingsTitle, onClick = viewIntent::onSettingsClick @@ -83,13 +90,6 @@ internal fun MenuScreen( Divider() - MenuItem( - text = strings.openGitHubProject, - onClick = viewIntent::onOpenGitHubProjectClick - ) - - Divider() - MenuItem( text = strings.donateStrings.buyMeACoffee, onClick = viewIntent::onDonateClick