diff --git a/RevenueCatUI/CustomerCenter/ViewModels/CustomerCenterViewModel.swift b/RevenueCatUI/CustomerCenter/ViewModels/CustomerCenterViewModel.swift index bd97591d10..f3944c2c51 100644 --- a/RevenueCatUI/CustomerCenter/ViewModels/CustomerCenterViewModel.swift +++ b/RevenueCatUI/CustomerCenter/ViewModels/CustomerCenterViewModel.swift @@ -35,7 +35,7 @@ import RevenueCat // @PublicForExternalTesting @Published - var state: CustomerCenterViewState { + private(set) var state: CustomerCenterViewState { didSet { if case let .error(stateError) = state { self.error = stateError @@ -43,7 +43,7 @@ import RevenueCat } } @Published - var configuration: CustomerCenterConfigData? + private(set) var configuration: CustomerCenterConfigData? var isLoaded: Bool { return state != .notLoaded && configuration != nil