Updated on 2026-08-14
This commit is contained in:
parent
4f8ee89101
commit
4e2bc84a7b
6 changed files with 22 additions and 5 deletions
17
core/ui/src/main/res/drawable/ic_nft_placeholder_120.xml
Normal file
17
core/ui/src/main/res/drawable/ic_nft_placeholder_120.xml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="121dp"
|
||||
android:height="120dp"
|
||||
android:viewportWidth="121"
|
||||
android:viewportHeight="120">
|
||||
<path
|
||||
android:pathData="M63.55,5.44C61.51,4.26 58.99,4.26 56.95,5.44L14.65,29.86C12.61,31.04 11.35,33.22 11.35,35.58V84.42C11.35,86.78 12.61,88.96 14.65,90.14L56.95,114.56C58.99,115.74 61.51,115.74 63.55,114.56L105.86,90.14C107.9,88.96 109.15,86.78 109.15,84.42V35.58C109.15,33.22 107.9,31.04 105.86,29.86L63.55,5.44ZM18.57,35.94L60.25,11.87L101.93,35.94V63.93L88.04,55.27C85.75,53.84 82.81,53.95 80.64,55.55L56.37,73.4L39.74,64.11C37.53,62.88 34.8,63.02 32.73,64.48L18.57,74.43V35.94ZM84.58,61.62L101.93,72.44V84.06L60.25,108.13L18.57,84.06V83.26L36.56,70.61L53.2,79.9C55.46,81.16 58.24,80.98 60.33,79.45L84.58,61.62Z"
|
||||
android:strokeAlpha="0.1"
|
||||
android:fillColor="#1E1E1E"
|
||||
android:fillType="evenOdd"
|
||||
android:fillAlpha="0.1"/>
|
||||
<path
|
||||
android:pathData="M41.75,33C36.78,33 32.75,37.03 32.75,42C32.75,46.97 36.78,51 41.75,51C46.72,51 50.75,46.97 50.75,42C50.75,37.03 46.72,33 41.75,33Z"
|
||||
android:strokeAlpha="0.1"
|
||||
android:fillColor="#1E1E1E"
|
||||
android:fillAlpha="0.1"/>
|
||||
</vector>
|
||||
|
|
@ -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,
|
||||
)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue