From 2d6b318b307e2c17e5fa035929ffadfd248713f1 Mon Sep 17 00:00:00 2001 From: Tangem Date: Wed, 13 Mar 2024 15:45:38 +0100 Subject: [PATCH] Updated on 2026-08-14 --- .../models/AddCustomTokenViewsModels.kt | 6 ++-- core/res/src/main/res/values-ru/strings.xml | 29 ++---------------- .../src/main/res/values-zh-rTW/strings.xml | 17 ----------- core/res/src/main/res/values/strings.xml | 30 ++----------------- .../wallet2/ui/ImportSeedPhraseScreen.kt | 26 +++++++++++++++- .../feature/swap/domain/models/DataError.kt | 2 +- .../tangem/feature/swap/ui/StateBuilder.kt | 6 ++-- .../components/exchange/ExchangeProvider.kt | 3 +- .../state/model/WalletBottomSheetConfig.kt | 5 +++- 9 files changed, 42 insertions(+), 82 deletions(-) diff --git a/app/src/main/java/com/tangem/tap/features/customtoken/impl/presentation/models/AddCustomTokenViewsModels.kt b/app/src/main/java/com/tangem/tap/features/customtoken/impl/presentation/models/AddCustomTokenViewsModels.kt index 16fba8e3f2..6ba979beab 100644 --- a/app/src/main/java/com/tangem/tap/features/customtoken/impl/presentation/models/AddCustomTokenViewsModels.kt +++ b/app/src/main/java/com/tangem/tap/features/customtoken/impl/presentation/models/AddCustomTokenViewsModels.kt @@ -291,12 +291,12 @@ enum class DerivationPathSelectorType { internal sealed class AddCustomTokenWarning(val description: TextReference) { /** Potential scam warning */ - object PotentialScamToken : AddCustomTokenWarning( + data object PotentialScamToken : AddCustomTokenWarning( description = TextReference.Res(R.string.custom_token_validation_error_not_found), ) /** Token already added warning */ - object TokenAlreadyAdded : AddCustomTokenWarning( + data object TokenAlreadyAdded : AddCustomTokenWarning( description = TextReference.Res(R.string.custom_token_validation_error_already_added), ) @@ -305,7 +305,7 @@ internal sealed class AddCustomTokenWarning(val description: TextReference) { description = TextReference.Res(R.string.alert_manage_tokens_unsupported_message, networkName), ) - object WrongDerivationPath : AddCustomTokenWarning( + data object WrongDerivationPath : AddCustomTokenWarning( description = TextReference.Res(R.string.custom_token_invalid_derivation_path), ) } diff --git a/core/res/src/main/res/values-ru/strings.xml b/core/res/src/main/res/values-ru/strings.xml index 92eb872a29..562af4dcb0 100644 --- a/core/res/src/main/res/values-ru/strings.xml +++ b/core/res/src/main/res/values-ru/strings.xml @@ -7,7 +7,6 @@ Отправлено успешно Обратиться в поддержку Эта функция недоступна в демонстрационном режиме - Не удалось отправить письмо Причина: %s Не могу отправить транзакцию Выбранный кошелёк не поддерживает сеть %1$s @@ -46,7 +45,6 @@ Отключите эту опцию, если не хотите, чтобы эта карта использовалась для сброса кодов доступа на другие карты этого кошелька. Обратите внимание, сброс кода также не будет доступен на этой карте. Использовать эту карту для сброса кода доступа на других картах в этом кошельке - Отключить возможность сброса кода доступа на этой карте или других картах этого кошелька Восстановление кода доступа Сбросить Вы уверены, что хотите это сделать? @@ -102,7 +100,6 @@ Нет адреса OK Основная карта - Вставить Подробнее Получить Отклонить @@ -119,7 +116,6 @@ Поделиться Подписать Подписать и отправить - Стейкинг Начать Отправить Успешно @@ -209,13 +205,11 @@ Ожидание депозита Ожидаем пополнения... Возвращено - Возврат... Отправляем Отправка средств... Отправлено Данные провайдера. Сумма к получению может измениться в зависимости от рыночных условий. Статус обмена - Верифицировано Требуется верификация Список токенов в вашем кошельке Получение наилучших курсов... @@ -248,9 +242,7 @@ Чтобы изменить код доступа, приложите карту как показано выше и не убирайте до окончания операции Чтобы изменить пароль, приложите карту как показано выше и не убирайте до окончания операции Чтобы создать кошелек, приложите карту как показано выше и не убирайте до окончания операции - Чтобы сбросить настройки до заводских, приложите карту как показано выше и не убирайте до окончания операции Приложите, чтобы отсканировать - Чтобы подписать транзакцию, приложите карту как показано выше и не убирайте до окончания операции Приложите, чтобы подписать Приложите карту Вы обновили данные биометрии, отсканируйте свою карту для входа @@ -438,7 +430,6 @@ Уже содержится в введенном адресе Вычесть Недостаточно средств для покрытия комиссии сети. Вычесть комиссию из отправляемой сумму? - Комиссия увеличилась Вы указали комиссию ниже рекомендуемой, это может привести к задержке исполнения вашей транзакции. Продолжить? Причина: %1$s\nКод: %2$s Транзакция не выполнена @@ -471,10 +462,10 @@ Сумма комиссии в %s раз превышает рекомендованную. Убедитесь, что указанная комиссия верна. Установлена высокая комиссия Комиссия при переводе всего баланса выше. Для того, чтобы снизить комиссию Вы можете оставить %s. - Увеличение комиссии + Комиссия увеличилась Включенная комиссия превышает сумму перевода, что приводит к отрицательному значению Недопустимая сумма - Минимальная сумма отправки - %1$s. Пожалуйста, убедитесь, что остаток после отправки также не будет меньше %1$s. + Минимальная сумма отправки - %1$s. Пожалуйста, убедитесь, что остаток после отправки также не будет меньше %2$s. Адрес получателя не активирован. \nПожалуйста, измените сумму отправки, чтобы продолжить. Сумма отправки не может быть менее %s Уменьшить на %s @@ -500,16 +491,11 @@ Держите свои криптосбережения в безопасности. Приватные ключи надежно хранятся на карте. Революционный аппаратный кошелек До трех карт с одним кошельком - До - трех карт - с одним кошельком Все ключи в безопасности Аппаратный кошелек для ваших биткоинов, эфира и многих других валют одновременно — все в одной карте Тысячи криптовалют Используйте его на ходу, в любом месте, в любое время. Без проводов и батареек. Как только понадобится крипта, просто приложите карту к телефону. Кошелек для каждого - Пройдите 3 урока, получите скидку на покупку Tangem Wallet и 1INCH токены - Пройти обучение Встречайте Tangem Обменивайте, покупайте NFT, получайте займы и делайте вклады в более чем 100 различных децентрализованных сервисах Поддержка Web 3.0 @@ -577,14 +563,12 @@ Переименование кошелька Разблокировать все Разблокировать все с %s - История транзакций Блокчейн недоступен. Попробуйте позже. Отсканируйте карту Запрос на подпись сообщения.\n\n%s Dapp %1$s, запрос на\nподпись транзакции с BNB.\n\n%2$s Торговый ордер на %1$s\nЦена: %2$s\nСумма к получению: %3$s\nСумма к оплате: %4$s Детали транзакции:\nОт: %1$s\nК: %2$s\nСумма: %3$s - Транзакция с BNB успешно подписана и отправлена ​​в Dapp. Буфер обмена содержит код WalletConnect. Использовать скопированное значение или отсканировать QR-код Запрос на создание транзакции для %1$s\n%2$s\n\nСумма: %3$s\nКомиссия: %4$s\nВсего: %5$s\nБаланс: %6$s Невозможно отправить транзакцию. Недостаточно средств. @@ -598,8 +582,6 @@ Неверная карта выбрана в приложении Tangem Не удалось создать транзакцию из данных Dapp. Код: %s Произошла непредвиденная ошибка. Код ошибки: %d Попробуйте, пожалуйста, позже. Если проблема будет продолжать возникать - обратитесь в службу поддержки. - Сообщение было успешно подписано и отправлено в Dapp - Сеть %s не найдена. Пожалуйста, добавьте её и попробуйте заново. Нет открытых сессий WalletConnect Упс. Нет сессий. Не удалось создать пару WalletConnect: %1$s @@ -611,14 +593,9 @@ Эту карту нельзя использовать с WalletConnect. Сеть не поддерживается. Пожалуйста, выберите другую сеть. Выберите сеть - Dapp не предоставил необходимые данные для открытия сессии WalletConnect - Не удалось найти сессию для обработки запроса Сессии WalletConnect Подключение к dApps WalletConnect - Транзакция успешно подписана и отправлена ​​в Dapp - Транзакция успешно подписана и отправлена ​​в блокчейн - Не удалось найти хэш транзакции Рыночная цена %s за 24 часа Сеть %s @@ -629,7 +606,6 @@ Пожалуйста, выведите все средства из этого кошелька, сбросьте его к заводским настройкам и создайте новый. Доступ к текущему кошельку будет утерян. Ошибка активации Можно лучше - Узнать больше Нравится Понятно! Очень круто! @@ -672,7 +648,6 @@ Резервная копия отсутствует Эта карта ранее использовалась для подписи транзакций. Если она получена от ненадежного источника, рассмотрите возможность вывода своих средств. Если это ваша карта, дополнительных действий не требуется. Карта уже подписывала транзакции - Устройство несовместимо Ваш отзыв мотивирует нас сделать кошелек Tangem еще лучше Нравится Tangem? Необходима плата за аренду сети diff --git a/core/res/src/main/res/values-zh-rTW/strings.xml b/core/res/src/main/res/values-zh-rTW/strings.xml index 3b90b9b331..da5557d604 100644 --- a/core/res/src/main/res/values-zh-rTW/strings.xml +++ b/core/res/src/main/res/values-zh-rTW/strings.xml @@ -7,7 +7,6 @@ 成功送出 請求支持 此功能不在展示模式中提供 - 發送電子郵件失敗 原因:%s 無法發送交易 此卡不支持%1$s網路上的代幣因為韌體限制 @@ -30,7 +29,6 @@ 如果您不希望使用此卡重置此錢包中其他卡上的訪問密碼,請禁用此選項。請注意,這也會阻止您重置此卡上的訪問密碼。 允許您使用此卡重置此錢包中其他卡上的訪問密碼 - 禁用重置此卡或此錢包中其他卡上的訪問密碼的功能 恢復訪問密碼 重置 您確定要這麼做嗎? @@ -137,9 +135,7 @@ 要更改訪問密碼,請完全按照上圖所示連接手機和卡片 要更改密碼,請完全按照上圖所示連接手機和卡 要創建錢包,請完全按照上圖所示連接手機和卡 - 要重置為出廠設置,請完全按照上圖所示連接手機和卡片 點擊掃描 - 要簽名,請完全按照上圖所示連接手機和卡 點擊簽名 點按卡片 您已更新生物識別登入,掃描您的卡進入 @@ -278,9 +274,6 @@ 安全地存儲您的加密貨幣,同時將私鑰保存在您的卡中 創新式的硬體錢包 最多 3張實體卡片 到一個錢包 - 最多 - 3張實體卡片 - 到一個錢包 更多的安全備份 一個冷錢包,可同時將您的比特幣、以太幣和其他幣種-全部存在一張卡中 千種虛擬貨幣 @@ -328,14 +321,12 @@ 錢包名稱 重新命名錢包 用 %s 解鎖全部 - 交易記錄 區塊鍊無法使用。稍後再試 掃描卡片 請求籤署消息。%s Dapp %1$s,請求\n簽署 BNB 交易。\n%2$s %1$s 的交易訂單\n價格: %2$s\n接收金額:%3$s\n支付數量: %4$s 交易明細:\n從: %1$s\n到: %2$s\n數量: %3$s - BNB 交易已成功簽署並發送至 Dapp 剪貼板包含 WalletConnect 代碼。使用複制的值或掃描二維碼 請求為 %1$s 創建交易\n%2$s\n\n數量: %3$s\n費用: %4$s\n全部的: %5$s\n餘額: %6$s 無法交易,無足夠資金 @@ -349,8 +340,6 @@ 在 Tangem App 中選擇了錯誤的卡 無法從 Dapp 數據創建交易。代碼: %s 我們遇到了未知錯誤。錯誤代碼:%d。如果問題仍然存在-請隨時聯繫我們的支持人員 - 消息已成功簽名並發送至Dapp - 沒有 %s 網路,請先加入後再試一次 沒有已連結的WalletConnect Ooops, 沒有連接 從剪貼板貼上 @@ -361,20 +350,14 @@ 此卡不能用於建立 WalletConnect 連接 不支持此網絡。請選擇其他網絡 選擇網路 - Dapp 沒有提供必要的數據來建立 WalletConnect 連接 - 找不到請求的連接 WalletConnect 連接 連結到Dapps WalletConnect - 交易已成功簽署並發送至 Dapp - 交易已成功簽署並發送至區塊鏈 - 未能找到交易哈希 %s市場價格 地址已復製到剪貼板 無網路 Tangem 可以更好 - 了解更多 了解 真的很酷! 此卡可能是生產樣本或偽造品 diff --git a/core/res/src/main/res/values/strings.xml b/core/res/src/main/res/values/strings.xml index 53492c3a02..4f8f87c686 100644 --- a/core/res/src/main/res/values/strings.xml +++ b/core/res/src/main/res/values/strings.xml @@ -7,7 +7,6 @@ Sent successfully Request support This feature is disabled in Demo mode - Failed to send the email Reason: %s Can\'t send a transaction The selected does not support the %1$s network @@ -45,7 +44,6 @@ Disable this option if you don\'t want this card to be used to reset access codes on other cards in this wallet. Please note that this will also prevent you from resetting the access code on this card. Allows you to use this card to reset access code on other cards in this wallet - Disable the ability to reset the access code on this card or other cards in this wallet Access code recovery Reset Are you sure you want to do this? @@ -93,7 +91,6 @@ Get addresses Go to provider Import - Learn & Earn Locked Main network Network fee @@ -102,7 +99,6 @@ No address OK Primary Card - Paste Read more Receive Reject @@ -119,7 +115,6 @@ Share Sign Sign and send - Stake Start Submit Success @@ -209,13 +204,11 @@ Awaiting deposit Awaiting deposit... Refunded - Refunding... Sending to you Sending to you... Sent Provider-sourced data. Estimated amount subject to change due to market conditions. Exchange status - Verified Verification required List of all tokens added to your wallet Fetching best rates... @@ -249,9 +242,7 @@ To change the access code tap the card as shown above and do not remove until the end of the operation To change the passcode tap the card as shown above and do not remove until the end of the operation To create the wallet tap the card as shown above and do not remove until the end of the operation - To reset to factory settings tap the card as shown above and do not remove until the end of the operation Tap to scan - To sign tap the card as shown above and do not remove until the end of the operation Tap to sign Tap the card You have updated biometrics, scan your card to enter @@ -435,7 +426,6 @@ Already included in the entered address Subtract Not enough funds to cover the network commission. Subtract the commission from the amount sent? - Fee is increased You specified a commission below the recommended amount, which could cause a delay in your transaction. Continue? Reason: %1$s\nCode: %2$s The transaction is not completed @@ -478,7 +468,7 @@ Fee is increased The included commission exceeds the transfer amount, leading to a negative value Invalid amount - The minimum sending amount is %1$s. Please ensure that the remaining balance after sending will not be less than %1$s. + The minimum sending amount is %1$s. Please ensure that the remaining balance after sending will not be less than %2$s. Target account is not created. Please change the amount to send. The amount to send must be at least %s Reduce by %s @@ -509,16 +499,11 @@ Store your crypto assets secure while keeping private keys contained in your card Revolutionary Hardware Wallet Up to 3 physical cards to one wallet - Up to - 3 physical cards - to one wallet Ultra Secure Backup A hardware wallet for your Bitcoin, Ethereum and many more currencies simultaneously – all in one card Thousands of Currencies Use it on the go, anywhere, anytime. No wires or batteries. Just tap the card to your phone when you need your crypto. The Wallet for Everyone - Take three lessons, get a discount on your Tangem Wallet, and receive 1INCH tokens to your wallet - Learn Meet Tangem Exchange, buy NFT\'s, make loans and deposits in more than 100 different decentralized services Web 3.0 Compatible @@ -586,14 +571,12 @@ Rename Wallet Unlock all Unlock all with %s - Transaction history Blockchain is unreachable. Try later Scan the card Requesting to sign a message.\n\n%s Dapp %1$s, requesting to\nsign BNB transaction.\n\n%2$s Trade order for %1$s\nPrice: %2$s\nAmount to receive: %3$s\nAmount to pay: %4$s Transaction details:\nFrom: %1$s\nTo: %2$s\nAmount: %3$s - The BNB transaction has been successfully signed and sent to the Dapp Clipboard contain WalletConnect code. Use copied value or scan QR-code Request to create transaction for %1$s\n%2$s\n\nAmount: %3$s\nFee: %4$s\nTotal: %5$s\nBalance: %6$s Can\'t send transaction. Not enough funds. @@ -607,8 +590,6 @@ Wrong card selected in Tangem App Failed to create transaction from Dapp data. Code: %s We\'ve encountered unknown error. Error code: %d. If the problem persists — feel free to contact our support - The message has been successfully signed and sent to the Dapp - %s network not found. Please, add it first and try again. No opened WalletConnect sessions Ooops. No Sessions. Failed to pairing WalletConnect session: %1$s @@ -620,14 +601,9 @@ This card can\'t be used to establish WalletConnect session This network is not supported. Please select another network. Select network - Dapp didn\'t provide essential data to establish WalletConnect session - Failed to find session for request WalletConnect Sessions Connect to dApps WalletConnect - The transaction has been successfully signed and sent to the Dapp - The transaction has been succesfully signed and sent to the blockchain - Failed to find transaction hash %s Market Price last 24h %s network @@ -638,7 +614,6 @@ Please withdraw all funds from this wallet, reset it to factory settings, and create a new one. Access to the current wallet will be lost. Backup error Could be better - Learn more Like it Ok, Got it! Really cool! @@ -653,7 +628,7 @@ You have active transaction Swap approval is underway and will be completed shortly Approval in progress - The minimum swapping amount is %1$s. Please ensure that the remaining balance after sending will not be less than %2$s. + The minimum swapping amount is %1$s. Please ensure that the remaining balance after the swap will not be less than %2$s. You do not have any %s exchangeable coins in your list No available tokens to swap To make a transaction you need to deposit some %1$s %2$s @@ -679,7 +654,6 @@ Missing backup This card has been previously used for transactions. If received from an untrusted source, consider withdrawing all funds. If it\'s your card, no action is required. Card has already signed transactions - Device incompatibility detected Your review keeps us motivated to make Tangem Wallet even better Enjoying Tangem? Network rent fee required diff --git a/features/onboarding/src/main/java/com/tangem/feature/onboarding/presentation/wallet2/ui/ImportSeedPhraseScreen.kt b/features/onboarding/src/main/java/com/tangem/feature/onboarding/presentation/wallet2/ui/ImportSeedPhraseScreen.kt index 10248b767a..e0a5b674ad 100644 --- a/features/onboarding/src/main/java/com/tangem/feature/onboarding/presentation/wallet2/ui/ImportSeedPhraseScreen.kt +++ b/features/onboarding/src/main/java/com/tangem/feature/onboarding/presentation/wallet2/ui/ImportSeedPhraseScreen.kt @@ -22,7 +22,9 @@ import com.tangem.core.ui.components.PrimaryButtonIconEnd import com.tangem.core.ui.components.TangemTextFieldsDefault import com.tangem.core.ui.res.TangemTheme import com.tangem.feature.onboarding.R +import com.tangem.feature.onboarding.presentation.wallet2.model.ButtonState import com.tangem.feature.onboarding.presentation.wallet2.model.ImportSeedPhraseState +import com.tangem.feature.onboarding.presentation.wallet2.model.TextFieldState import com.tangem.feature.onboarding.presentation.wallet2.ui.components.DescriptionSubTitleText import com.tangem.feature.onboarding.presentation.wallet2.ui.components.OnboardingActionBlock import com.tangem.feature.onboarding.presentation.wallet2.ui.components.OnboardingDescriptionBlock @@ -67,7 +69,7 @@ fun ImportSeedPhraseScreen(state: ImportSeedPhraseState, modifier: Modifier = Mo PrimaryButtonIconEnd( modifier = Modifier .fillMaxWidth(), - text = stringResource(id = R.string.onboarding_create_wallet_button_create_wallet), + text = stringResource(id = R.string.common_import), iconResId = R.drawable.ic_tangem_24, enabled = state.buttonCreateWallet.enabled, showProgress = state.buttonCreateWallet.showProgress, @@ -196,6 +198,28 @@ private fun SuggestionsBlockPreview_Dark( } } +@Preview +@Composable +private fun ImportSeedPhraseScreenPreview_Light( + @PreviewParameter(SuggestionsPreviewParamsProvider::class) suggestions: ImmutableList, +) { + TangemTheme(isDark = false) { + ImportSeedPhraseScreen( + ImportSeedPhraseState( + tvSeedPhrase = TextFieldState(onTextFieldValueChanged = {}), + onSuggestedPhraseClick = {}, + buttonCreateWallet = ButtonState( + enabled = true, + isClickable = true, + showProgress = false, + onClick = {}, + ), + suggestionsList = suggestions, + ), + ) + } +} + private class SuggestionsPreviewParamsProvider : CollectionPreviewParameterProvider>( collection = listOf( persistentListOf( diff --git a/features/swap/domain/models/src/main/java/com/tangem/feature/swap/domain/models/DataError.kt b/features/swap/domain/models/src/main/java/com/tangem/feature/swap/domain/models/DataError.kt index 21c40c5588..d4881c27b8 100644 --- a/features/swap/domain/models/src/main/java/com/tangem/feature/swap/domain/models/DataError.kt +++ b/features/swap/domain/models/src/main/java/com/tangem/feature/swap/domain/models/DataError.kt @@ -40,7 +40,7 @@ sealed class DataError { data class InvalidPayoutAddressError(override val code: Int = 992) : DataError() - object UnknownError : DataError() { + data object UnknownError : DataError() { override val code: Int = -1 } } \ No newline at end of file diff --git a/features/swap/presentation/src/main/java/com/tangem/feature/swap/ui/StateBuilder.kt b/features/swap/presentation/src/main/java/com/tangem/feature/swap/ui/StateBuilder.kt index 2587562721..8d89cd4924 100644 --- a/features/swap/presentation/src/main/java/com/tangem/feature/swap/ui/StateBuilder.kt +++ b/features/swap/presentation/src/main/java/com/tangem/feature/swap/ui/StateBuilder.kt @@ -385,7 +385,7 @@ internal class StateBuilder( NotificationConfig( title = resourceReference(R.string.send_notification_invalid_amount_title), subtitle = resourceReference( - R.string.send_notification_invalid_minimum_amount_text, + R.string.warning_express_dust_message, wrappedList( it.dustValue.toPlainString(), it.dustValue.toPlainString(), @@ -677,7 +677,7 @@ internal class StateBuilder( subtitle = if (dataError is DataError.UnknownError) { resourceReference(R.string.common_unknown_error) } else { - resourceReference(R.string.generic_error_code, wrappedList(dataError.code.toString())) + resourceReference(R.string.express_error_code, wrappedList(dataError.code.toString())) }, iconResId = R.drawable.img_attention_20, buttonsState = NotificationConfig.ButtonsState.SecondaryButtonConfig( @@ -862,7 +862,7 @@ internal class StateBuilder( SwapWarning.GeneralWarning( notificationConfig = NotificationConfig( title = TextReference.Res(R.string.warning_express_refresh_required_title), - subtitle = TextReference.Res(R.string.generic_error_code, wrappedList(code)), + subtitle = TextReference.Res(R.string.express_error_code, wrappedList(code)), iconResId = R.drawable.ic_alert_triangle_20, buttonsState = NotificationConfig.ButtonsState.PrimaryButtonConfig( text = TextReference.Res(R.string.warning_button_refresh), diff --git a/features/tokendetails/impl/src/main/kotlin/com/tangem/feature/tokendetails/presentation/tokendetails/ui/components/exchange/ExchangeProvider.kt b/features/tokendetails/impl/src/main/kotlin/com/tangem/feature/tokendetails/presentation/tokendetails/ui/components/exchange/ExchangeProvider.kt index c08898d2dc..41278b195c 100644 --- a/features/tokendetails/impl/src/main/kotlin/com/tangem/feature/tokendetails/presentation/tokendetails/ui/components/exchange/ExchangeProvider.kt +++ b/features/tokendetails/impl/src/main/kotlin/com/tangem/feature/tokendetails/presentation/tokendetails/ui/components/exchange/ExchangeProvider.kt @@ -19,6 +19,7 @@ import androidx.compose.ui.tooling.preview.Preview import com.tangem.core.ui.R import com.tangem.core.ui.components.inputrow.InputRowBestRate import com.tangem.core.ui.extensions.TextReference +import com.tangem.core.ui.extensions.wrappedList import com.tangem.core.ui.res.TangemTheme @Composable @@ -67,7 +68,7 @@ internal fun ExchangeProvider( ) Text( modifier = Modifier.align(Alignment.CenterVertically), - text = "ID: $providerTxId", + text = stringResource(R.string.express_transaction_id, wrappedList(providerTxId)), style = TangemTheme.typography.body2, color = TangemTheme.colors.text.tertiary, ) diff --git a/features/wallet/impl/src/main/java/com/tangem/feature/wallet/presentation/wallet/state/model/WalletBottomSheetConfig.kt b/features/wallet/impl/src/main/java/com/tangem/feature/wallet/presentation/wallet/state/model/WalletBottomSheetConfig.kt index d6ec5fcc93..adfede4a1c 100644 --- a/features/wallet/impl/src/main/java/com/tangem/feature/wallet/presentation/wallet/state/model/WalletBottomSheetConfig.kt +++ b/features/wallet/impl/src/main/java/com/tangem/feature/wallet/presentation/wallet/state/model/WalletBottomSheetConfig.kt @@ -36,7 +36,10 @@ sealed class WalletBottomSheetConfig( ), iconResId = R.drawable.ic_locked_24, primaryButtonConfig = ButtonConfig( - text = resourceReference(id = R.string.user_wallet_list_unlock_all), + text = resourceReference( + id = R.string.user_wallet_list_unlock_all_with, + formatArgs = wrappedList(resourceReference(R.string.common_biometrics)), + ), onClick = onUnlockClick, ), secondaryButtonConfig = ButtonConfig(