Skip to content

Commit f7f3bc1

Browse files
committed
chore: remove close action
1 parent 535ddd6 commit f7f3bc1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

app/src/main/java/to/bitkit/ui/settings/general/LocalCurrencySettingsScreen.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ import to.bitkit.ui.components.SearchInput
2424
import to.bitkit.ui.components.settings.SectionHeader
2525
import to.bitkit.ui.components.settings.SettingsButtonRow
2626
import to.bitkit.ui.components.settings.SettingsButtonValue
27-
import to.bitkit.ui.navigateToHome
2827
import to.bitkit.ui.scaffold.AppTopBar
2928
import to.bitkit.ui.scaffold.DrawerNavIcon
3029
import to.bitkit.ui.scaffold.ScreenColumn
@@ -76,7 +75,6 @@ fun LocalCurrencySettingsScreen(
7675
selectedCurrency = selectedCurrency,
7776
onCurrencyClick = { currencyViewModel.setSelectedCurrency(it) },
7877
onBackClick = { navController.popBackStack() },
79-
onCloseClick = navController::navigateToHome,
8078
)
8179
}
8280

@@ -89,7 +87,6 @@ fun LocalCurrencySettingsContent(
8987
selectedCurrency: String,
9088
onCurrencyClick: (String) -> Unit,
9189
onBackClick: () -> Unit,
92-
onCloseClick: () -> Unit,
9390
) {
9491
ScreenColumn {
9592
AppTopBar(
@@ -219,7 +216,6 @@ private fun Preview() {
219216
selectedCurrency = "USD",
220217
onCurrencyClick = {},
221218
onBackClick = {},
222-
onCloseClick = {},
223219
)
224220
}
225221
}

0 commit comments

Comments
 (0)