Updated on 2026-08-14

This commit is contained in:
Tangem 2025-08-06 12:39:16 +05:00
parent 5b2fb1b22c
commit ede97572e3
4 changed files with 9 additions and 4 deletions

View file

@ -62,6 +62,8 @@ internal fun WcAppInfoItem(
text = title,
color = TangemTheme.colors.text.primary1,
style = TangemTheme.typography.h3,
maxLines = 1,
overflow = TextOverflow.Ellipsis,
)
if (verifiedDAppState is VerifiedDAppState.Verified) {
Icon(

View file

@ -213,9 +213,12 @@ private fun AppInfoItem(appInfo: WcConnectedAppInfo, modifier: Modifier = Modifi
verticalAlignment = Alignment.CenterVertically,
) {
Text(
modifier = Modifier.weight(1f, fill = false),
text = appInfo.name,
color = TangemTheme.colors.text.primary1,
style = TangemTheme.typography.subtitle2,
maxLines = 1,
overflow = TextOverflow.Ellipsis,
)
if (appInfo.verifiedState is VerifiedDAppState.Verified) {
Icon(

View file

@ -41,7 +41,7 @@ internal object WcConnectionsPreviewData {
walletName = "Bitcoin",
connectedApps = persistentListOf(
WcConnectedAppInfo(
name = "React app",
name = "React app React app React app React app React app",
iconUrl = "$BASE_URL/LiteCoin.png",
subtitle = "https://react-app.walletconnect.com/",
verifiedState = VerifiedDAppState.Verified {},

View file

@ -185,9 +185,9 @@ private class WcSendTransactionStateProvider : CollectionPreviewParameterProvide
onDismiss = {},
onSend = {},
appInfo = WcTransactionAppInfoContentUM(
appName = "React App",
appName = "React App React App ReactApp ReactApp ReactApp",
appIcon = "",
verifiedState = VerifiedDAppState.Verified {},
verifiedState = VerifiedDAppState.Unknown,
appSubtitle = "react-app.walletconnect.com",
),
estimatedWalletChanges = WcSendReceiveTransactionCheckResultsUM(
@ -225,7 +225,7 @@ private class WcSendTransactionStateProvider : CollectionPreviewParameterProvide
onDismiss = {},
onSend = {},
appInfo = WcTransactionAppInfoContentUM(
appName = "React App",
appName = "React App React App React App React App React App",
appIcon = "",
verifiedState = VerifiedDAppState.Verified {},
appSubtitle = "react-app.walletconnect.com",