Skip to content

Commit

Permalink
[Paywalls V2] Fixes previews of ButtonComponentView, StackComponentVi…
Browse files Browse the repository at this point in the history
…ew and TextComponentView (#1992)
  • Loading branch information
JayShortway authored Dec 18, 2024
1 parent de98bee commit b0ad2ae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ private fun previewEmptyState(): PaywallState.Loaded.Components {
stickyFooter = null,
),
),
componentsLocalizations = emptyMap(),
componentsLocalizations = mapOf(LocaleId("en_US") to emptyMap()),
defaultLocaleIdentifier = LocaleId("en_US"),
)
val offering = Offering(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ private fun previewEmptyState(): PaywallState.Loaded.Components {
stickyFooter = null,
),
),
componentsLocalizations = emptyMap(),
componentsLocalizations = mapOf(LocaleId("en_US") to emptyMap()),
defaultLocaleIdentifier = LocaleId("en_US"),
)
val offering = Offering(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ private fun previewEmptyState(): PaywallState.Loaded.Components {
stickyFooter = null,
),
),
componentsLocalizations = emptyMap(),
componentsLocalizations = mapOf(LocaleId("en_US") to emptyMap()),
defaultLocaleIdentifier = LocaleId("en_US"),
)
val offering = Offering(
Expand Down

0 comments on commit b0ad2ae

Please sign in to comment.