Skip to content

Commit

Permalink
Fix showing actions in tc confirm
Browse files Browse the repository at this point in the history
  • Loading branch information
abdrasulov committed Oct 17, 2024
1 parent ca11a24 commit 9f07b6f
Showing 1 changed file with 7 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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))
Expand Down

0 comments on commit 9f07b6f

Please sign in to comment.