From 4e2bc84a7b54b2c94d698e50471a9bbc10041f84 Mon Sep 17 00:00:00 2001 From: Tangem Date: Tue, 3 Jun 2025 18:18:14 +0500 Subject: [PATCH] Updated on 2026-08-14 --- .../res/drawable/ic_nft_placeholder_120.xml | 17 +++++++++++++++++ ...der_76.xml => ic_nft_placeholder_add_76.xml} | 0 .../nft/collections/ui/NFTCollectionAsset.kt | 2 +- .../nft/collections/ui/NFTCollectionsEmpty.kt | 2 +- .../nft/details/info/ui/NFTInfoBottomSheet.kt | 4 ++-- .../features/nft/details/ui/NFTDetailsLogo.kt | 2 +- 6 files changed, 22 insertions(+), 5 deletions(-) create mode 100644 core/ui/src/main/res/drawable/ic_nft_placeholder_120.xml rename core/ui/src/main/res/drawable/{ic_nft_placeholder_76.xml => ic_nft_placeholder_add_76.xml} (100%) diff --git a/core/ui/src/main/res/drawable/ic_nft_placeholder_120.xml b/core/ui/src/main/res/drawable/ic_nft_placeholder_120.xml new file mode 100644 index 0000000000..51d00307cf --- /dev/null +++ b/core/ui/src/main/res/drawable/ic_nft_placeholder_120.xml @@ -0,0 +1,17 @@ + + + + diff --git a/core/ui/src/main/res/drawable/ic_nft_placeholder_76.xml b/core/ui/src/main/res/drawable/ic_nft_placeholder_add_76.xml similarity index 100% rename from core/ui/src/main/res/drawable/ic_nft_placeholder_76.xml rename to core/ui/src/main/res/drawable/ic_nft_placeholder_add_76.xml 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 87832394e4..b63ed4ff63 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 @@ -78,7 +78,7 @@ private fun Placeholder(modifier: Modifier = Modifier) { ) { Image( modifier = Modifier.size(TangemTheme.dimens.size52), - painter = painterResource(R.drawable.ic_nft_placeholder_76), + painter = painterResource(R.drawable.ic_nft_placeholder_120), contentDescription = null, ) } 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 3715753909..f72e7db861 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 @@ -34,7 +34,7 @@ internal fun NFTCollectionsEmpty(state: NFTCollectionsUM.Empty, modifier: Modifi horizontalAlignment = Alignment.CenterHorizontally, ) { Image( - painter = painterResource(R.drawable.ic_nft_placeholder_76), + painter = painterResource(R.drawable.ic_nft_placeholder_add_76), contentDescription = null, ) Text( diff --git a/features/nft/impl/src/main/kotlin/com/tangem/features/nft/details/info/ui/NFTInfoBottomSheet.kt b/features/nft/impl/src/main/kotlin/com/tangem/features/nft/details/info/ui/NFTInfoBottomSheet.kt index 875903640f..f0db020a56 100644 --- a/features/nft/impl/src/main/kotlin/com/tangem/features/nft/details/info/ui/NFTInfoBottomSheet.kt +++ b/features/nft/impl/src/main/kotlin/com/tangem/features/nft/details/info/ui/NFTInfoBottomSheet.kt @@ -39,7 +39,7 @@ internal fun NFTInfoBottomSheetContent(text: TextReference, modifier: Modifier = ) { Text( text = text.resolveReference(), - color = TangemTheme.colors.text.secondary, + color = TangemTheme.colors.text.primary1, style = TangemTheme.typography.body2, modifier = Modifier.padding( start = TangemTheme.dimens.spacing16, @@ -52,7 +52,7 @@ internal fun NFTInfoBottomSheetContent(text: TextReference, modifier: Modifier = @Composable @Preview(showBackground = true) -@Preview(showBackground = true, uiMode = Configuration.UI_MODE_NIGHT_YES) +@Preview(showBackground = false, uiMode = Configuration.UI_MODE_NIGHT_YES) private fun Preview_NFTInfoBottomSheetContent() { TangemThemePreview { NFTInfoBottomSheetContent( 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 3111614efd..8331048382 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 @@ -65,7 +65,7 @@ private fun Placeholder(modifier: Modifier = Modifier) { ) { Image( modifier = Modifier.size(TangemTheme.dimens.size120), - painter = painterResource(R.drawable.ic_nft_placeholder_76), + painter = painterResource(R.drawable.ic_nft_placeholder_120), contentDescription = null, ) }