Skip to content

Commit 8737102

Browse files
committed
chore: remove close action
1 parent 7ecaf22 commit 8737102

File tree

4 files changed

+0
-7
lines changed

4 files changed

+0
-7
lines changed

app/src/main/java/to/bitkit/ui/ContentView.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,6 @@ private fun NavGraphBuilder.shop(
818818
) {
819819
composableWithDefaultTransitions<Routes.ShopIntro> {
820820
ShopIntroScreen(
821-
onClose = { navController.navigateToHome() },
822821
onContinue = {
823822
settingsViewModel.setHasSeenShopIntro(true)
824823
navController.navigate(Routes.ShopDiscover)

app/src/main/java/to/bitkit/ui/NodeInfoScreen.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ fun NodeInfoScreen(
8888
isDevModeEnabled = isDevModeEnabled,
8989
balanceDetails = lightningState.balances,
9090
onBack = { navController.popBackStack() },
91-
onClose = { navController.navigateToHome() },
9291
onRefresh = { wallet.onPullToRefresh() },
9392
onDisconnectPeer = { wallet.disconnectPeer(it) },
9493
onCopy = { text ->
@@ -108,7 +107,6 @@ private fun Content(
108107
isDevModeEnabled: Boolean,
109108
balanceDetails: BalanceDetails? = null,
110109
onBack: () -> Unit = {},
111-
onClose: () -> Unit = {},
112110
onRefresh: () -> Unit = {},
113111
onDisconnectPeer: (PeerDetails) -> Unit = {},
114112
onCopy: (String) -> Unit = {},

app/src/main/java/to/bitkit/ui/screens/shop/ShopIntroScreen.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ import to.bitkit.ui.utils.withAccent
2525

2626
@Composable
2727
fun ShopIntroScreen(
28-
onClose: () -> Unit,
2928
onContinue: () -> Unit,
3029
) {
3130
ScreenColumn {
@@ -67,7 +66,6 @@ fun ShopIntroScreen(
6766
private fun Preview() {
6867
AppThemeSurface {
6968
ShopIntroScreen(
70-
onClose = {},
7169
onContinue = {}
7270
)
7371
}

app/src/main/java/to/bitkit/ui/settings/appStatus/AppStatusScreen.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ fun AppStatusScreen(
5959
Content(
6060
uiState = uiState,
6161
onBack = { navController.popBackStack() },
62-
onClose = { navController.navigateToHome() },
6362
onInternetClick = { context.startActivityAppSettings() },
6463
onElectrumClick = { navController.navigate(Routes.ElectrumConfig) },
6564
onNodeClick = { navController.navigate(Routes.NodeInfo) },
@@ -72,7 +71,6 @@ fun AppStatusScreen(
7271
private fun Content(
7372
uiState: AppStatusUiState = AppStatusUiState(),
7473
onBack: () -> Unit = {},
75-
onClose: () -> Unit = {},
7674
onInternetClick: () -> Unit = {},
7775
onElectrumClick: () -> Unit = {},
7876
onNodeClick: () -> Unit = {},

0 commit comments

Comments
 (0)