Skip to content

Commit

Permalink
Example: add Published modifier to properties
Browse files Browse the repository at this point in the history
  • Loading branch information
x401om committed Feb 17, 2023
1 parent 61943a4 commit 593a038
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Examples/SwiftUI/Adapty-Demo/Service/PaywallService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@ import SwiftUI

final class PaywallService: ObservableObject {
@Published var paywall: AdaptyPaywall?

var paywallProducts: [AdaptyPaywallProduct]?
var paywallViewModel: PaywallViewModel?
@Published var paywallProducts: [AdaptyPaywallProduct]?
@Published var paywallViewModel: PaywallViewModel?

// MARK: - Paywalls

Expand Down

0 comments on commit 593a038

Please sign in to comment.