Updated on 2026-08-14
This commit is contained in:
parent
c38b5836ff
commit
cd1ad461a4
5 changed files with 5 additions and 4 deletions
|
|
@ -58,7 +58,7 @@ internal class WcConnectedAppInfoModel @Inject constructor(
|
|||
appIcon = session.sdkModel.appMetaData.icons.firstOrNull().orEmpty(),
|
||||
isVerified = session.securityStatus == CheckDAppResult.SAFE,
|
||||
verifiedDAppState = extractVerifiedState(session),
|
||||
appSubtitle = session.sdkModel.appMetaData.description,
|
||||
appSubtitle = session.sdkModel.appMetaData.url,
|
||||
walletName = session.wallet.name,
|
||||
networks = session.networks
|
||||
.map {
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ internal class WcAppInfoTransformer(
|
|||
verifiedDAppState = dAppVerifiedStateConverter.convert(
|
||||
dAppSession.securityStatus to dAppSession.dAppMetaData.name,
|
||||
),
|
||||
appSubtitle = dAppSession.dAppMetaData.description,
|
||||
appSubtitle = dAppSession.dAppMetaData.url,
|
||||
notification = createNotification(dAppSession.securityStatus),
|
||||
walletName = userWallet.name,
|
||||
onWalletClick = onWalletClick,
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ internal class WcSessionsTransformer(
|
|||
WcConnectedAppInfo(
|
||||
name = appMetaData.name,
|
||||
iconUrl = appMetaData.icons.firstOrNull().orEmpty(),
|
||||
subtitle = stringReference(appMetaData.description),
|
||||
subtitle = stringReference(appMetaData.url),
|
||||
verifiedState = WcDAppVerifiedStateConverter {}
|
||||
.convert(session.securityStatus to appMetaData.name),
|
||||
onClick = { openAppInfoModal(session) },
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ internal fun WcAppInfoItem(
|
|||
},
|
||||
)
|
||||
.padding(TangemTheme.dimens.spacing12),
|
||||
verticalAlignment = Alignment.CenterVertically,
|
||||
horizontalArrangement = Arrangement.spacedBy(TangemTheme.dimens.spacing16),
|
||||
) {
|
||||
AsyncImage(
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ internal class WcTransactionAppInfoContentUMConverter @Inject constructor() :
|
|||
verifiedState = WcDAppVerifiedStateConverter(onVerifiedClick = value.onShowVerifiedAlert).convert(
|
||||
value.session.securityStatus to value.session.sdkModel.appMetaData.name,
|
||||
),
|
||||
appSubtitle = value.session.sdkModel.appMetaData.description,
|
||||
appSubtitle = value.session.sdkModel.appMetaData.url,
|
||||
)
|
||||
|
||||
data class Input(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue