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, onBuyClick = ::onBuyClick,
showAlreadyHaveWallet = true,
), ),
) )
init { init {
showAlreadyHaveWalletWithDelay() // temporarily disabled by timer and enabled by default
// showAlreadyHaveWalletWithDelay()
} }
@Suppress("UnusedPrivateMember")
private fun showAlreadyHaveWalletWithDelay() { private fun showAlreadyHaveWalletWithDelay() {
modelScope.launch { modelScope.launch {
delay(SHOW_ALREADY_HAVE_WALLET_DELAY) delay(SHOW_ALREADY_HAVE_WALLET_DELAY)

View file

@ -96,7 +96,12 @@ internal fun CreateMobileWalletContent(state: CreateMobileWalletUM, modifier: Mo
PrimaryButton( PrimaryButton(
modifier = Modifier modifier = Modifier
.fillMaxWidth() .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), text = stringResourceSafe(R.string.onboarding_create_wallet_button_create_wallet),
showProgress = state.createButtonLoading, showProgress = state.createButtonLoading,
onClick = state.onCreateClick, onClick = state.onCreateClick,

View file

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

View file

@ -71,7 +71,7 @@ internal fun AnimatedContentScope.WelcomeSelectWallet(state: WelcomeUM.SelectWal
.fillMaxWidth(), .fillMaxWidth(),
state = walletState, state = walletState,
blockColors = TangemBlockCardColors.copy( 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, color = TangemTheme.colors.text.primary1,
) )
SpacerH16() SpacerH8()
Text( Text(
modifier = Modifier.animateEnterExit( modifier = Modifier.animateEnterExit(