From 9f07b6f974e3c51ee8d0cdef97993e7ccf2730f7 Mon Sep 17 00:00:00 2001 From: abdrasulov Date: Wed, 16 Oct 2024 18:16:51 +0600 Subject: [PATCH] Fix showing actions in tc confirm --- .../tonconnect/TonConnectSendRequestScreen.kt | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/app/src/main/java/io/horizontalsystems/bankwallet/modules/tonconnect/TonConnectSendRequestScreen.kt b/app/src/main/java/io/horizontalsystems/bankwallet/modules/tonconnect/TonConnectSendRequestScreen.kt index 7b8cdb3008..452e9fbd65 100644 --- a/app/src/main/java/io/horizontalsystems/bankwallet/modules/tonconnect/TonConnectSendRequestScreen.kt +++ b/app/src/main/java/io/horizontalsystems/bankwallet/modules/tonconnect/TonConnectSendRequestScreen.kt @@ -34,7 +34,6 @@ import io.horizontalsystems.bankwallet.ui.compose.components.ButtonPrimaryYellow import io.horizontalsystems.bankwallet.ui.compose.components.CellUniversalLawrenceSection import io.horizontalsystems.bankwallet.ui.compose.components.HFillSpacer import io.horizontalsystems.bankwallet.ui.compose.components.TextImportantError -import io.horizontalsystems.bankwallet.ui.compose.components.TextImportantWarning import io.horizontalsystems.bankwallet.ui.compose.components.VSpacer import io.horizontalsystems.bankwallet.ui.compose.components.cell.CellUniversal import io.horizontalsystems.bankwallet.ui.compose.components.cell.SectionUniversalLawrence @@ -171,15 +170,13 @@ fun TonConnectSendRequestScreen(navController: NavController) { amountFormatted = valueOutAmountFormatted, ) } -// is TonTransactionRecord.Action.Type.Burn -> { } -// is TonTransactionRecord.Action.Type.ContractCall -> { } -// is TonTransactionRecord.Action.Type.ContractDeploy -> { } -// is TonTransactionRecord.Action.Type.Mint -> { } -// is TonTransactionRecord.Action.Type.Receive -> { } -// is TonTransactionRecord.Action.Type.Send -> { } - is TonTransactionRecord.Action.Type.Unsupported -> { - TextImportantWarning(text = actionType.type) - } +// is TonTransactionRecord.Action.Type.Burn -> {} +// is TonTransactionRecord.Action.Type.ContractCall -> {} +// is TonTransactionRecord.Action.Type.ContractDeploy -> {} +// is TonTransactionRecord.Action.Type.Mint -> {} +// is TonTransactionRecord.Action.Type.Receive -> {} +// is TonTransactionRecord.Action.Type.Send -> {} +// is TonTransactionRecord.Action.Type.Unsupported -> {} else -> { CellUniversal(borderTop = false) { subhead2_grey(text = stringResource(R.string.Send_Confirmation_Action))