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

Commit

Permalink
Fix previews
Browse files Browse the repository at this point in the history
  • Loading branch information
ILIYANGERMANOV committed Apr 29, 2022
1 parent f518270 commit 0626a28
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/src/main/java/com/ivy/wallet/ui/IvyComposeApp.kt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import com.ivy.design.l0_system.Theme
import com.ivy.design.l0_system.UI
import com.ivy.design.navigation.Navigation
import com.ivy.design.utils.IvyPreview
import com.ivy.wallet.IvyAndroidApp


@Composable
Expand Down Expand Up @@ -59,6 +60,7 @@ fun IvyWalletPreview(
theme: Theme = Theme.LIGHT,
Content: @Composable BoxWithConstraintsScope.() -> Unit
) {
IvyAndroidApp.appContext = rootView().context
IvyPreview(
theme = theme,
design = appDesign(IvyWalletCtx()),
Expand Down

0 comments on commit 0626a28

Please sign in to comment.