actually updates readerview value

This commit is contained in:
Stuart Breckenridge 2020-07-18 21:46:39 +08:00
parent 5a7c3111ce
commit 5fb44a30ea
No known key found for this signature in database
GPG Key ID: 79BD673276AE83CE
1 changed files with 5 additions and 1 deletions

View File

@ -27,7 +27,11 @@ class InspectorModel: ObservableObject {
updateNotificationSettings()
}
}
@Published var alwaysShowReaderView: Bool = false
@Published var alwaysShowReaderView: Bool = false {
didSet {
selectedWebFeed?.isArticleExtractorAlwaysOn = alwaysShowReaderView
}
}
private let centre = UNUserNotificationCenter.current()
private var selectedWebFeed: WebFeed?
private var selectedFolder: Folder?