Skip to content

Commit

Permalink
Fixed Simple app
Browse files Browse the repository at this point in the history
  • Loading branch information
NachoSoto committed Aug 3, 2023
1 parent 82933ed commit 38ee1e1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Tests/TestingApps/SimpleApp/SimpleApp/SamplePaywalls.swift
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ private extension SamplePaywallLoader {
return .init(
template: .onePackageStandard,
config: .init(
packages: [.monthly],
packages: [Package.string(from: PackageType.monthly)!],
images: Self.images,
colors: .init(
light: .init(
Expand Down Expand Up @@ -188,7 +188,8 @@ private extension SamplePaywallLoader {
return .init(
template: .multiPackageBold,
config: .init(
packages: [.weekly, .monthly, .annual, .lifetime],
packages: Array<PackageType>([.weekly, .monthly, .annual, .lifetime])
.map { Package.string(from: $0)! },
images: Self.images,
colors: .init(
light: .init(
Expand Down Expand Up @@ -227,7 +228,7 @@ private extension SamplePaywallLoader {
return .init(
template: .onePackageWithFeatures,
config: .init(
packages: [.annual],
packages: [Package.string(from: .annual)!],
images: Self.images,
colors: .init(
light: .init(
Expand Down

0 comments on commit 38ee1e1

Please sign in to comment.