From e54c9f32dad06f9252fa9418b3eca5acc57f39ad Mon Sep 17 00:00:00 2001 From: Aleksandar Ilic Date: Fri, 19 Jan 2024 16:54:01 +0100 Subject: [PATCH] Hide start in wallet option in wallet settings --- .../settings/wallet/WalletSettingsScreen.kt | 31 +++++++++---------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/app/src/main/kotlin/net/primal/android/settings/wallet/WalletSettingsScreen.kt b/app/src/main/kotlin/net/primal/android/settings/wallet/WalletSettingsScreen.kt index ba5dddb0..3ca8f8d6 100644 --- a/app/src/main/kotlin/net/primal/android/settings/wallet/WalletSettingsScreen.kt +++ b/app/src/main/kotlin/net/primal/android/settings/wallet/WalletSettingsScreen.kt @@ -43,7 +43,6 @@ import androidx.compose.ui.unit.dp import androidx.core.text.isDigitsOnly import java.text.NumberFormat import net.primal.android.R -import net.primal.android.core.compose.PrimalSwitch import net.primal.android.core.compose.PrimalTopAppBar import net.primal.android.core.compose.icons.PrimalIcons import net.primal.android.core.compose.icons.primaliconpack.ArrowBack @@ -122,21 +121,21 @@ fun WalletSettingsScreen( ) if (state.walletPreference != WalletPreference.NostrWalletConnect) { - Spacer(modifier = Modifier.height(8.dp)) - - SettingsItem( - headlineText = stringResource(id = R.string.settings_wallet_start_in_wallet), - supportText = stringResource(id = R.string.settings_wallet_start_in_wallet_hint), - trailingContent = { - PrimalSwitch( - checked = false, - onCheckedChange = { - }, - ) - }, - onClick = { - }, - ) +// Spacer(modifier = Modifier.height(8.dp)) +// +// SettingsItem( +// headlineText = stringResource(id = R.string.settings_wallet_start_in_wallet), +// supportText = stringResource(id = R.string.settings_wallet_start_in_wallet_hint), +// trailingContent = { +// PrimalSwitch( +// checked = false, +// onCheckedChange = { +// }, +// ) +// }, +// onClick = { +// }, +// ) Spacer(modifier = Modifier.height(8.dp))