Updated on 2026-08-14
This commit is contained in:
parent
ce76ab4791
commit
37f0b6529c
6 changed files with 18 additions and 14 deletions
|
|
@ -18,8 +18,6 @@ import androidx.compose.ui.Modifier
|
|||
import androidx.compose.ui.graphics.painter.Painter
|
||||
import androidx.compose.ui.res.painterResource
|
||||
import androidx.compose.ui.res.stringResource
|
||||
import androidx.compose.ui.text.capitalize
|
||||
import androidx.compose.ui.text.intl.Locale
|
||||
import androidx.compose.ui.text.style.TextAlign
|
||||
import androidx.compose.ui.tooling.preview.Preview
|
||||
import com.tangem.core.ui.components.PrimaryButton
|
||||
|
|
@ -120,10 +118,7 @@ private fun Title(
|
|||
contentDescription = null,
|
||||
)
|
||||
Text(
|
||||
text = stringResource(
|
||||
id = R.string.save_user_wallet_agreement_header,
|
||||
stringResource(id = R.string.common_biometrics).capitalize(Locale.current),
|
||||
),
|
||||
text = stringResource(id = R.string.save_user_wallet_agreement_header_biometrics),
|
||||
style = TangemTheme.typography.h2,
|
||||
color = TangemTheme.colors.text.primary1,
|
||||
textAlign = TextAlign.Center,
|
||||
|
|
@ -148,10 +143,7 @@ private fun Description(
|
|||
DescriptionItem(
|
||||
iconPainter = painterResource(id = R.drawable.ic_lock_24),
|
||||
title = stringResource(id = R.string.save_user_wallet_agreement_code_title),
|
||||
description = stringResource(
|
||||
id = R.string.save_user_wallet_agreement_code_description,
|
||||
stringResource(id = R.string.common_biometrics).capitalize(Locale.current),
|
||||
),
|
||||
description = stringResource(id = R.string.save_user_wallet_agreement_code_description_biometrics),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
@ -170,10 +162,7 @@ private fun Footer(
|
|||
PrimaryButton(
|
||||
modifier = Modifier.fillMaxWidth(),
|
||||
showProgress = showProgress,
|
||||
text = stringResource(
|
||||
id = R.string.save_user_wallet_agreement_allow,
|
||||
stringResource(id = R.string.common_biometrics).capitalize(Locale.current),
|
||||
),
|
||||
text = stringResource(id = R.string.save_user_wallet_agreement_allow_biometrics),
|
||||
onClick = onSaveWalletClick,
|
||||
)
|
||||
Text(
|
||||
|
|
|
|||
|
|
@ -114,12 +114,15 @@
|
|||
<string name="welcome_unlock_card">Karte scannen</string>
|
||||
<string name="onboarding_navbar_save_wallet">Save your Wallet</string>
|
||||
<string name="save_user_wallet_agreement_header">Would you like to use %s?</string>
|
||||
<string name="save_user_wallet_agreement_header_biometrics">Would you like to use biometrics?</string>
|
||||
<string name="save_user_wallet_agreement_access_title">Access the app</string>
|
||||
<string name="save_user_wallet_agreement_access_description">Log into the app and check your balance without scanning the card</string>
|
||||
<string name="save_user_wallet_agreement_code_title">Access code</string>
|
||||
<string name="save_user_wallet_agreement_code_description">%s will be requested instead of the access code for interactions with your wallet</string>
|
||||
<string name="save_user_wallet_agreement_code_description_biometrics">Biometrics will be requested instead of the access code for interactions with your wallet</string>
|
||||
<string name="save_user_wallet_agreement_notice">Note that making a transaction with your funds will still require your card</string>
|
||||
<string name="save_user_wallet_agreement_allow">Allow to use %s</string>
|
||||
<string name="save_user_wallet_agreement_allow_biometrics">Allow to use biometrics</string>
|
||||
<string name="save_user_wallet_agreement_new_feature">New feature</string>
|
||||
<string name="user_wallet_list_title">My Wallets</string>
|
||||
<string name="user_wallet_list_multi_header">Multi-currency</string>
|
||||
|
|
|
|||
|
|
@ -114,12 +114,15 @@
|
|||
<string name="welcome_unlock_card">Scannez la carte</string>
|
||||
<string name="onboarding_navbar_save_wallet">Save your Wallet</string>
|
||||
<string name="save_user_wallet_agreement_header">Would you like to use %s?</string>
|
||||
<string name="save_user_wallet_agreement_header_biometrics">Would you like to use biometrics?</string>
|
||||
<string name="save_user_wallet_agreement_access_title">Access the app</string>
|
||||
<string name="save_user_wallet_agreement_access_description">Log into the app and check your balance without scanning the card</string>
|
||||
<string name="save_user_wallet_agreement_code_title">Access code</string>
|
||||
<string name="save_user_wallet_agreement_code_description">%s will be requested instead of the access code for interactions with your wallet</string>
|
||||
<string name="save_user_wallet_agreement_code_description_biometrics">Biometrics will be requested instead of the access code for interactions with your wallet</string>
|
||||
<string name="save_user_wallet_agreement_notice">Note that making a transaction with your funds will still require your card</string>
|
||||
<string name="save_user_wallet_agreement_allow">Allow to use %s</string>
|
||||
<string name="save_user_wallet_agreement_allow_biometrics">Allow to use biometrics</string>
|
||||
<string name="save_user_wallet_agreement_new_feature">New feature</string>
|
||||
<string name="user_wallet_list_title">My Wallets</string>
|
||||
<string name="user_wallet_list_multi_header">Multi-currency</string>
|
||||
|
|
|
|||
|
|
@ -114,12 +114,15 @@
|
|||
<string name="welcome_unlock_card">Scansiona carta</string>
|
||||
<string name="onboarding_navbar_save_wallet">Save your Wallet</string>
|
||||
<string name="save_user_wallet_agreement_header">Would you like to use %s?</string>
|
||||
<string name="save_user_wallet_agreement_header_biometrics">Would you like to use biometrics?</string>
|
||||
<string name="save_user_wallet_agreement_access_title">Access the app</string>
|
||||
<string name="save_user_wallet_agreement_access_description">Log into the app and check your balance without scanning the card</string>
|
||||
<string name="save_user_wallet_agreement_code_title">Access code</string>
|
||||
<string name="save_user_wallet_agreement_code_description">%s will be requested instead of the access code for interactions with your wallet</string>
|
||||
<string name="save_user_wallet_agreement_code_description_biometrics">Biometrics will be requested instead of the access code for interactions with your wallet</string>
|
||||
<string name="save_user_wallet_agreement_notice">Note that making a transaction with your funds will still require your card</string>
|
||||
<string name="save_user_wallet_agreement_allow">Allow to use %s</string>
|
||||
<string name="save_user_wallet_agreement_allow_biometrics">Allow to use biometrics</string>
|
||||
<string name="save_user_wallet_agreement_new_feature">New feature</string>
|
||||
<string name="user_wallet_list_title">My Wallets</string>
|
||||
<string name="user_wallet_list_multi_header">Multi-currency</string>
|
||||
|
|
|
|||
|
|
@ -114,12 +114,15 @@
|
|||
<string name="welcome_unlock_card">Сканировать карту</string>
|
||||
<string name="onboarding_navbar_save_wallet">Сохраните ваш кошелек</string>
|
||||
<string name="save_user_wallet_agreement_header">Вы хотите использовать %s?</string>
|
||||
<string name="save_user_wallet_agreement_header_biometrics">Вы хотите использовать биометрию?</string>
|
||||
<string name="save_user_wallet_agreement_access_title">Доступ в приложение</string>
|
||||
<string name="save_user_wallet_agreement_access_description">Войдите в приложение и следите за своим балансом без сканирования карты</string>
|
||||
<string name="save_user_wallet_agreement_code_title">Код доступа</string>
|
||||
<string name="save_user_wallet_agreement_code_description">Для операций с вашим кошельком будет запрашиваться %s вместо кода доступа карты</string>
|
||||
<string name="save_user_wallet_agreement_code_description_biometrics">Для операций с вашим кошельком будет запрашиваться биометрия вместо кода доступа карты</string>
|
||||
<string name="save_user_wallet_agreement_notice">Обратите внимание, что для совершения транзакции с вашими средствами по-прежнему потребуется ваша карта</string>
|
||||
<string name="save_user_wallet_agreement_allow">Использовать %s</string>
|
||||
<string name="save_user_wallet_agreement_allow_biometrics">Использовать биометрию</string>
|
||||
<string name="save_user_wallet_agreement_new_feature">Новый функционал</string>
|
||||
<string name="user_wallet_list_title">Мои кошельки</string>
|
||||
<string name="user_wallet_list_multi_header">Мультивалютные</string>
|
||||
|
|
|
|||
|
|
@ -114,12 +114,15 @@
|
|||
<string name="welcome_unlock_card">Scan card</string>
|
||||
<string name="onboarding_navbar_save_wallet">Save your wallet</string>
|
||||
<string name="save_user_wallet_agreement_header">Would you like to use %s?</string>
|
||||
<string name="save_user_wallet_agreement_header_biometrics">Would you like to use biometrics?</string>
|
||||
<string name="save_user_wallet_agreement_access_title">Access the app</string>
|
||||
<string name="save_user_wallet_agreement_access_description">Log into the app and check your balance without scanning the card</string>
|
||||
<string name="save_user_wallet_agreement_code_title">Access code</string>
|
||||
<string name="save_user_wallet_agreement_code_description">%s will be requested instead of the access code for interactions with your wallet</string>
|
||||
<string name="save_user_wallet_agreement_code_description_biometrics">Biometrics will be requested instead of the access code for interactions with your wallet</string>
|
||||
<string name="save_user_wallet_agreement_notice">Note that making a transaction with your funds will still require your card</string>
|
||||
<string name="save_user_wallet_agreement_allow">Allow to use %s</string>
|
||||
<string name="save_user_wallet_agreement_allow_biometrics">Allow to use biometrics</string>
|
||||
<string name="save_user_wallet_agreement_new_feature">New feature</string>
|
||||
<string name="user_wallet_list_title">My Wallets</string>
|
||||
<string name="user_wallet_list_multi_header">Multi-currency</string>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue