mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-29 00:31:14 +00:00
Use AppDefaults.shared.
This commit is contained in:
1 parent
17296b5ebf
commit
2c0da64ddd
1 file changed
+1
-1
@@ -44,7 +44,7 @@ private extension WebViewConfiguration {
|
||||
|
||||
static var webpagePreferences: WKWebpagePreferences {
|
||||
let preferences = WKWebpagePreferences()
|
||||
preferences.allowsContentJavaScript = AppDefaults.isArticleContentJavascriptEnabled
|
||||
preferences.allowsContentJavaScript = AppDefaults.shared.isArticleContentJavascriptEnabled
|
||||
return preferences
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user