From 6890c6ad568d6b4a7e20ecdf8558c4f92a89bc7a Mon Sep 17 00:00:00 2001 From: Tangem Date: Mon, 30 Jun 2025 22:28:52 +0500 Subject: [PATCH] Updated on 2026-08-14 --- .../tangem/features/nft/collections/ui/NFTCollectionAsset.kt | 5 +++-- .../features/nft/collections/ui/NFTCollectionsEmpty.kt | 5 +++-- .../com/tangem/features/nft/details/ui/NFTDetailsLogo.kt | 5 +++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/features/nft/impl/src/main/kotlin/com/tangem/features/nft/collections/ui/NFTCollectionAsset.kt b/features/nft/impl/src/main/kotlin/com/tangem/features/nft/collections/ui/NFTCollectionAsset.kt index b63ed4ff63..5ab67a6d96 100644 --- a/features/nft/impl/src/main/kotlin/com/tangem/features/nft/collections/ui/NFTCollectionAsset.kt +++ b/features/nft/impl/src/main/kotlin/com/tangem/features/nft/collections/ui/NFTCollectionAsset.kt @@ -1,12 +1,12 @@ package com.tangem.features.nft.collections.ui import android.content.res.Configuration -import androidx.compose.foundation.Image import androidx.compose.foundation.background import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.aspectRatio import androidx.compose.foundation.layout.size +import androidx.compose.material3.Icon import androidx.compose.material3.Text import androidx.compose.runtime.Composable import androidx.compose.ui.Alignment @@ -76,10 +76,11 @@ private fun Placeholder(modifier: Modifier = Modifier) { .background(TangemTheme.colors.field.focused), contentAlignment = Alignment.Center, ) { - Image( + Icon( modifier = Modifier.size(TangemTheme.dimens.size52), painter = painterResource(R.drawable.ic_nft_placeholder_120), contentDescription = null, + tint = TangemTheme.colors.icon.primary1, ) } } diff --git a/features/nft/impl/src/main/kotlin/com/tangem/features/nft/collections/ui/NFTCollectionsEmpty.kt b/features/nft/impl/src/main/kotlin/com/tangem/features/nft/collections/ui/NFTCollectionsEmpty.kt index f72e7db861..7e2c62d33b 100644 --- a/features/nft/impl/src/main/kotlin/com/tangem/features/nft/collections/ui/NFTCollectionsEmpty.kt +++ b/features/nft/impl/src/main/kotlin/com/tangem/features/nft/collections/ui/NFTCollectionsEmpty.kt @@ -1,10 +1,10 @@ package com.tangem.features.nft.collections.ui import android.content.res.Configuration -import androidx.compose.foundation.Image import androidx.compose.foundation.layout.* import androidx.compose.foundation.rememberScrollState import androidx.compose.foundation.verticalScroll +import androidx.compose.material3.Icon import androidx.compose.material3.Text import androidx.compose.runtime.Composable import androidx.compose.ui.Alignment @@ -33,9 +33,10 @@ internal fun NFTCollectionsEmpty(state: NFTCollectionsUM.Empty, modifier: Modifi .align(Alignment.Center), horizontalAlignment = Alignment.CenterHorizontally, ) { - Image( + Icon( painter = painterResource(R.drawable.ic_nft_placeholder_add_76), contentDescription = null, + tint = TangemTheme.colors.icon.inactive, ) Text( modifier = Modifier.padding(top = TangemTheme.dimens.spacing24), diff --git a/features/nft/impl/src/main/kotlin/com/tangem/features/nft/details/ui/NFTDetailsLogo.kt b/features/nft/impl/src/main/kotlin/com/tangem/features/nft/details/ui/NFTDetailsLogo.kt index 2d7851550f..465271494a 100644 --- a/features/nft/impl/src/main/kotlin/com/tangem/features/nft/details/ui/NFTDetailsLogo.kt +++ b/features/nft/impl/src/main/kotlin/com/tangem/features/nft/details/ui/NFTDetailsLogo.kt @@ -1,12 +1,12 @@ package com.tangem.features.nft.details.ui import android.content.res.Configuration -import androidx.compose.foundation.Image import androidx.compose.foundation.background import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.aspectRatio import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.size +import androidx.compose.material.Icon import androidx.compose.runtime.Composable import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier @@ -63,10 +63,11 @@ private fun Placeholder(modifier: Modifier = Modifier) { .background(TangemTheme.colors.field.focused), contentAlignment = Alignment.Center, ) { - Image( + Icon( modifier = Modifier.size(TangemTheme.dimens.size120), painter = painterResource(R.drawable.ic_nft_placeholder_120), contentDescription = null, + tint = TangemTheme.colors.icon.primary1, ) } }