Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
Update base image onboarding set currency
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacnguyen0809 committed Sep 17, 2024
1 parent 12ea3d4 commit 0f620cd
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 2 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.ivy.onboarding.steps

import android.icu.util.Currency
import androidx.compose.foundation.layout.BoxWithConstraintsScope
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
Expand Down Expand Up @@ -39,7 +40,7 @@ import com.ivy.wallet.ui.theme.components.OnboardingButton
@Composable
fun BoxWithConstraintsScope.OnboardingSetCurrency(
preselectedCurrency: IvyCurrency,
onSetCurrency: (IvyCurrency) -> Unit
onSetCurrency: (IvyCurrency) -> Unit,
) {
setStatusBarDarkTextCompat(darkText = UI.colors.isLight)

Expand Down Expand Up @@ -120,7 +121,7 @@ fun BoxWithConstraintsScope.OnboardingSetCurrency(
private fun OnboardingSetCurrencyPreview(theme: Theme = Theme.LIGHT) {
IvyWalletPreview(theme) {
OnboardingSetCurrency(
preselectedCurrency = IvyCurrency.getDefault()
preselectedCurrency = IvyCurrency(fiatCurrency = Currency.getInstance("USD"))
) {
}
}
Expand Down

0 comments on commit 0f620cd

Please sign in to comment.