From a9df0625b12cc6a51411af37a38f8652c3aeabfa Mon Sep 17 00:00:00 2001 From: Tangem Date: Fri, 25 Jul 2025 16:32:05 +0500 Subject: [PATCH] Updated on 2026-08-14 --- .../features/walletconnect/connections/ui/WcAppInfoBS.kt | 1 - .../walletconnect/connections/ui/WcConnectionsContent.kt | 6 ++---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/features/walletconnect/impl/src/main/kotlin/com/tangem/features/walletconnect/connections/ui/WcAppInfoBS.kt b/features/walletconnect/impl/src/main/kotlin/com/tangem/features/walletconnect/connections/ui/WcAppInfoBS.kt index e1cda6ff38..9804255452 100644 --- a/features/walletconnect/impl/src/main/kotlin/com/tangem/features/walletconnect/connections/ui/WcAppInfoBS.kt +++ b/features/walletconnect/impl/src/main/kotlin/com/tangem/features/walletconnect/connections/ui/WcAppInfoBS.kt @@ -128,7 +128,6 @@ private fun WcAppInfoModalBottomSheetContent(state: WcAppInfoUM.Content, modifie private fun WcAppInfoFirstBlock(state: WcAppInfoUM.Content, modifier: Modifier = Modifier) { var connectionRequestExpanded by remember { mutableStateOf(false) } Column(modifier = modifier) { - val verifiedDAppState = state.verifiedDAppState WcAppInfoItem( iconUrl = state.appIcon, title = state.appName, diff --git a/features/walletconnect/impl/src/main/kotlin/com/tangem/features/walletconnect/connections/ui/WcConnectionsContent.kt b/features/walletconnect/impl/src/main/kotlin/com/tangem/features/walletconnect/connections/ui/WcConnectionsContent.kt index 5cd3dd24a8..81891cfcd3 100644 --- a/features/walletconnect/impl/src/main/kotlin/com/tangem/features/walletconnect/connections/ui/WcConnectionsContent.kt +++ b/features/walletconnect/impl/src/main/kotlin/com/tangem/features/walletconnect/connections/ui/WcConnectionsContent.kt @@ -34,10 +34,6 @@ import com.tangem.core.ui.extensions.stringResourceSafe import com.tangem.core.ui.res.TangemTheme import com.tangem.core.ui.res.TangemThemePreview import com.tangem.features.walletconnect.connections.entity.* -import com.tangem.features.walletconnect.connections.entity.WcConnectedAppInfo -import com.tangem.features.walletconnect.connections.entity.WcConnectionsState -import com.tangem.features.walletconnect.connections.entity.WcConnectionsTopAppBarConfig -import com.tangem.features.walletconnect.connections.entity.WcConnectionsUM import com.tangem.features.walletconnect.connections.ui.preview.WcConnectionsPreviewData import com.tangem.features.walletconnect.impl.R import kotlinx.collections.immutable.ImmutableList @@ -201,6 +197,8 @@ private fun AppInfoItem(appInfo: WcConnectedAppInfo, modifier: Modifier = Modifi .size(40.dp) .clip(RoundedCornerShape(TangemTheme.dimens.radius8)), model = appInfo.iconUrl, + error = painterResource(R.drawable.img_wc_dapp_icon_placeholder_48), + fallback = painterResource(R.drawable.img_wc_dapp_icon_placeholder_48), contentDescription = appInfo.name, ) Column(