Updated on 2026-08-14
This commit is contained in:
parent
ac9faa1300
commit
8c90587bb2
1 changed files with 2 additions and 1 deletions
|
|
@ -9,6 +9,7 @@ import androidx.compose.ui.draw.clip
|
|||
import androidx.compose.ui.platform.LocalContext
|
||||
import coil.compose.SubcomposeAsyncImage
|
||||
import coil.request.ImageRequest
|
||||
import com.tangem.core.ui.res.TangemColorPalette
|
||||
import com.tangem.core.ui.res.TangemTheme
|
||||
|
||||
@Composable
|
||||
|
|
@ -17,7 +18,7 @@ internal fun PaymentMethodIcon(imageUrl: String, modifier: Modifier = Modifier)
|
|||
modifier = modifier
|
||||
.size(TangemTheme.dimens.size40)
|
||||
.clip(TangemTheme.shapes.roundedCorners8)
|
||||
.background(TangemTheme.colors.background.secondary)
|
||||
.background(TangemColorPalette.Light1)
|
||||
.padding(TangemTheme.dimens.spacing6),
|
||||
model = ImageRequest.Builder(context = LocalContext.current)
|
||||
.data(imageUrl)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue