Updated on 2026-08-14
This commit is contained in:
parent
973c591ff2
commit
0ffde1aedb
2 changed files with 3 additions and 3 deletions
|
|
@ -57,7 +57,7 @@ internal class WcPairComponent(
|
|||
private fun onChildBack() {
|
||||
when (val config = contentStack.value.active.configuration) {
|
||||
is WcAppInfoRoutes.AppInfo -> dismiss()
|
||||
is Alert -> when (config.type) {
|
||||
is Alert -> when (config.alertType) {
|
||||
is Alert.Type.UnsupportedDApp,
|
||||
is Alert.Type.UnsupportedNetwork,
|
||||
-> dismiss()
|
||||
|
|
@ -85,7 +85,7 @@ internal class WcPairComponent(
|
|||
)
|
||||
is Alert -> AlertsComponentV2(
|
||||
appComponentContext = appComponentContext,
|
||||
messageUM = createBottomSheetMessageUM(config.type),
|
||||
messageUM = createBottomSheetMessageUM(config.alertType),
|
||||
)
|
||||
is WcAppInfoRoutes.SelectNetworks -> WcSelectNetworksComponent(
|
||||
appComponentContext = appComponentContext,
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ internal sealed class WcAppInfoRoutes : TangemBottomSheetConfigContent, Route {
|
|||
) : WcAppInfoRoutes()
|
||||
|
||||
@Serializable
|
||||
data class Alert(val type: Type) : WcAppInfoRoutes() {
|
||||
data class Alert(val alertType: Type) : WcAppInfoRoutes() {
|
||||
@Serializable
|
||||
sealed class Type {
|
||||
data class Verified(val appName: String) : Type()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue