Updated on 2026-08-14

This commit is contained in:
Tangem 2025-11-26 16:50:32 +05:00
parent 3fae2d6b60
commit 34aa80f961
4 changed files with 13 additions and 5 deletions

View file

@ -75,13 +75,16 @@ internal class CreateWalletSelectionModel @Inject constructor(
),
),
onBuyClick = ::onBuyClick,
showAlreadyHaveWallet = true,
),
)
init {
showAlreadyHaveWalletWithDelay()
// temporarily disabled by timer and enabled by default
// showAlreadyHaveWalletWithDelay()
}
@Suppress("UnusedPrivateMember")
private fun showAlreadyHaveWalletWithDelay() {
modelScope.launch {
delay(SHOW_ALREADY_HAVE_WALLET_DELAY)

View file

@ -96,7 +96,12 @@ internal fun CreateMobileWalletContent(state: CreateMobileWalletUM, modifier: Mo
PrimaryButton(
modifier = Modifier
.fillMaxWidth()
.padding(16.dp),
.padding(
start = 16.dp,
top = 8.dp,
end = 16.dp,
bottom = 16.dp,
),
text = stringResourceSafe(R.string.onboarding_create_wallet_button_create_wallet),
showProgress = state.createButtonLoading,
onClick = state.onCreateClick,

View file

@ -22,7 +22,7 @@ internal fun Welcome(state: WelcomeUM, modifier: Modifier = Modifier) {
Box(
modifier
.fillMaxSize()
.background(TangemTheme.colors.background.primary),
.background(TangemTheme.colors.background.secondary),
) {
AnimatedContent(
targetState = state,

View file

@ -71,7 +71,7 @@ internal fun AnimatedContentScope.WelcomeSelectWallet(state: WelcomeUM.SelectWal
.fillMaxWidth(),
state = walletState,
blockColors = TangemBlockCardColors.copy(
containerColor = TangemTheme.colors.field.primary,
containerColor = TangemTheme.colors.background.primary,
),
)
}
@ -165,7 +165,7 @@ private fun AnimatedContentScope.TitleText(modifier: Modifier = Modifier) {
color = TangemTheme.colors.text.primary1,
)
SpacerH16()
SpacerH8()
Text(
modifier = Modifier.animateEnterExit(