Add isPresentingSettingsView flag to WriteFreelyModel for iOS

This commit is contained in:
Angelo Stavrow 2020-09-11 13:54:41 -04:00
parent 428fb6cd6f
commit 322e9e9af5
No known key found for this signature in database
GPG Key ID: 1A49C7064E060EEE

View File

@ -11,6 +11,10 @@ class WriteFreelyModel: ObservableObject {
@Published var isLoggingIn: Bool = false
@Published var selectedPost: WFAPost?
#if os(iOS)
@Published var isPresentingSettingsView: Bool = false
#endif
private var client: WFClient?
private let defaults = UserDefaults.standard