Updated on 2026-08-14
This commit is contained in:
parent
88190ba9a6
commit
6890c6ad56
3 changed files with 9 additions and 6 deletions
|
|
@ -1,12 +1,12 @@
|
||||||
package com.tangem.features.nft.collections.ui
|
package com.tangem.features.nft.collections.ui
|
||||||
|
|
||||||
import android.content.res.Configuration
|
import android.content.res.Configuration
|
||||||
import androidx.compose.foundation.Image
|
|
||||||
import androidx.compose.foundation.background
|
import androidx.compose.foundation.background
|
||||||
import androidx.compose.foundation.layout.Box
|
import androidx.compose.foundation.layout.Box
|
||||||
import androidx.compose.foundation.layout.Column
|
import androidx.compose.foundation.layout.Column
|
||||||
import androidx.compose.foundation.layout.aspectRatio
|
import androidx.compose.foundation.layout.aspectRatio
|
||||||
import androidx.compose.foundation.layout.size
|
import androidx.compose.foundation.layout.size
|
||||||
|
import androidx.compose.material3.Icon
|
||||||
import androidx.compose.material3.Text
|
import androidx.compose.material3.Text
|
||||||
import androidx.compose.runtime.Composable
|
import androidx.compose.runtime.Composable
|
||||||
import androidx.compose.ui.Alignment
|
import androidx.compose.ui.Alignment
|
||||||
|
|
@ -76,10 +76,11 @@ private fun Placeholder(modifier: Modifier = Modifier) {
|
||||||
.background(TangemTheme.colors.field.focused),
|
.background(TangemTheme.colors.field.focused),
|
||||||
contentAlignment = Alignment.Center,
|
contentAlignment = Alignment.Center,
|
||||||
) {
|
) {
|
||||||
Image(
|
Icon(
|
||||||
modifier = Modifier.size(TangemTheme.dimens.size52),
|
modifier = Modifier.size(TangemTheme.dimens.size52),
|
||||||
painter = painterResource(R.drawable.ic_nft_placeholder_120),
|
painter = painterResource(R.drawable.ic_nft_placeholder_120),
|
||||||
contentDescription = null,
|
contentDescription = null,
|
||||||
|
tint = TangemTheme.colors.icon.primary1,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
package com.tangem.features.nft.collections.ui
|
package com.tangem.features.nft.collections.ui
|
||||||
|
|
||||||
import android.content.res.Configuration
|
import android.content.res.Configuration
|
||||||
import androidx.compose.foundation.Image
|
|
||||||
import androidx.compose.foundation.layout.*
|
import androidx.compose.foundation.layout.*
|
||||||
import androidx.compose.foundation.rememberScrollState
|
import androidx.compose.foundation.rememberScrollState
|
||||||
import androidx.compose.foundation.verticalScroll
|
import androidx.compose.foundation.verticalScroll
|
||||||
|
import androidx.compose.material3.Icon
|
||||||
import androidx.compose.material3.Text
|
import androidx.compose.material3.Text
|
||||||
import androidx.compose.runtime.Composable
|
import androidx.compose.runtime.Composable
|
||||||
import androidx.compose.ui.Alignment
|
import androidx.compose.ui.Alignment
|
||||||
|
|
@ -33,9 +33,10 @@ internal fun NFTCollectionsEmpty(state: NFTCollectionsUM.Empty, modifier: Modifi
|
||||||
.align(Alignment.Center),
|
.align(Alignment.Center),
|
||||||
horizontalAlignment = Alignment.CenterHorizontally,
|
horizontalAlignment = Alignment.CenterHorizontally,
|
||||||
) {
|
) {
|
||||||
Image(
|
Icon(
|
||||||
painter = painterResource(R.drawable.ic_nft_placeholder_add_76),
|
painter = painterResource(R.drawable.ic_nft_placeholder_add_76),
|
||||||
contentDescription = null,
|
contentDescription = null,
|
||||||
|
tint = TangemTheme.colors.icon.inactive,
|
||||||
)
|
)
|
||||||
Text(
|
Text(
|
||||||
modifier = Modifier.padding(top = TangemTheme.dimens.spacing24),
|
modifier = Modifier.padding(top = TangemTheme.dimens.spacing24),
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,12 @@
|
||||||
package com.tangem.features.nft.details.ui
|
package com.tangem.features.nft.details.ui
|
||||||
|
|
||||||
import android.content.res.Configuration
|
import android.content.res.Configuration
|
||||||
import androidx.compose.foundation.Image
|
|
||||||
import androidx.compose.foundation.background
|
import androidx.compose.foundation.background
|
||||||
import androidx.compose.foundation.layout.Box
|
import androidx.compose.foundation.layout.Box
|
||||||
import androidx.compose.foundation.layout.aspectRatio
|
import androidx.compose.foundation.layout.aspectRatio
|
||||||
import androidx.compose.foundation.layout.fillMaxWidth
|
import androidx.compose.foundation.layout.fillMaxWidth
|
||||||
import androidx.compose.foundation.layout.size
|
import androidx.compose.foundation.layout.size
|
||||||
|
import androidx.compose.material.Icon
|
||||||
import androidx.compose.runtime.Composable
|
import androidx.compose.runtime.Composable
|
||||||
import androidx.compose.ui.Alignment
|
import androidx.compose.ui.Alignment
|
||||||
import androidx.compose.ui.Modifier
|
import androidx.compose.ui.Modifier
|
||||||
|
|
@ -63,10 +63,11 @@ private fun Placeholder(modifier: Modifier = Modifier) {
|
||||||
.background(TangemTheme.colors.field.focused),
|
.background(TangemTheme.colors.field.focused),
|
||||||
contentAlignment = Alignment.Center,
|
contentAlignment = Alignment.Center,
|
||||||
) {
|
) {
|
||||||
Image(
|
Icon(
|
||||||
modifier = Modifier.size(TangemTheme.dimens.size120),
|
modifier = Modifier.size(TangemTheme.dimens.size120),
|
||||||
painter = painterResource(R.drawable.ic_nft_placeholder_120),
|
painter = painterResource(R.drawable.ic_nft_placeholder_120),
|
||||||
contentDescription = null,
|
contentDescription = null,
|
||||||
|
tint = TangemTheme.colors.icon.primary1,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue