Updated on 2026-08-14

This commit is contained in:
Tangem 2024-03-28 12:02:46 +03:00
parent 2c739e2a4f
commit 70eda1b6e7
24 changed files with 445 additions and 140 deletions

View file

@ -121,6 +121,10 @@ class DialogManager : StoreSubscriber<GlobalState> {
onReject = state.dialog.onReject,
)
}
is WalletConnectDialog.SignTransactionDialog -> SignTransactionDialog.create(
preparedData = state.dialog.data,
context = context,
)
is BackupDialog.AttestationFailed -> AttestationFailedDialog.create(context)
is BackupDialog.AddMoreBackupCards -> AddMoreBackupCardsDialog.create(context)
is BackupDialog.BackupInProgress -> BackupInProgressDialog.create(context)

View file

@ -5,7 +5,7 @@ import com.tangem.core.analytics.models.AnalyticsEvent
/**
[REDACTED_AUTHOR]
*/
sealed class WalletConnect(
internal sealed class WalletConnect(
event: String,
params: Map<String, String> = mapOf(),
error: Throwable? = null,
@ -65,7 +65,7 @@ sealed class WalletConnect(
FAIL("Fail"),
}
companion object {
private const val SUCCESS_CODE = "0"
private companion object {
const val SUCCESS_CODE = "0"
}
}