From 57421002b11c81386e948d6f22addf7e9547ce47 Mon Sep 17 00:00:00 2001 From: Tangem Date: Mon, 9 Jun 2025 15:40:03 +0500 Subject: [PATCH] Updated on 2026-08-14 --- .../drawable/img_wc_dapp_icon_placeholder_48.xml | 13 +++++++++++++ .../connections/ui/InternalComponents.kt | 2 ++ 2 files changed, 15 insertions(+) create mode 100644 core/ui/src/main/res/drawable/img_wc_dapp_icon_placeholder_48.xml diff --git a/core/ui/src/main/res/drawable/img_wc_dapp_icon_placeholder_48.xml b/core/ui/src/main/res/drawable/img_wc_dapp_icon_placeholder_48.xml new file mode 100644 index 0000000000..32a8ebd81e --- /dev/null +++ b/core/ui/src/main/res/drawable/img_wc_dapp_icon_placeholder_48.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/features/walletconnect/impl/src/main/kotlin/com/tangem/features/walletconnect/connections/ui/InternalComponents.kt b/features/walletconnect/impl/src/main/kotlin/com/tangem/features/walletconnect/connections/ui/InternalComponents.kt index da3205081b..1b8b649805 100644 --- a/features/walletconnect/impl/src/main/kotlin/com/tangem/features/walletconnect/connections/ui/InternalComponents.kt +++ b/features/walletconnect/impl/src/main/kotlin/com/tangem/features/walletconnect/connections/ui/InternalComponents.kt @@ -45,6 +45,8 @@ internal fun WcAppInfoItem( .clip(RoundedCornerShape(TangemTheme.dimens.radius8)), model = iconUrl, contentDescription = title, + error = painterResource(R.drawable.img_wc_dapp_icon_placeholder_48), + fallback = painterResource(R.drawable.img_wc_dapp_icon_placeholder_48), ) Column( modifier = Modifier.fillMaxWidth(),