mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Make it more clear that we are using shared defaults
This commit is contained in:
@@ -10,7 +10,7 @@ import UIKit
|
||||
|
||||
struct AppDefaults {
|
||||
|
||||
static var shared = UserDefaults.standard
|
||||
static var shared = UserDefaults.init(suiteName: "group.\(Bundle.main.bundleIdentifier!)")!
|
||||
|
||||
struct Key {
|
||||
static let lastImageCacheFlushDate = "lastImageCacheFlushDate"
|
||||
|
||||
@@ -56,7 +56,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UISplitViewControllerDele
|
||||
// Force lazy initialization of the web view provider so that it can warm up the queue of prepared web views
|
||||
let _ = ArticleViewControllerWebViewProvider.shared
|
||||
AccountManager.shared = AccountManager()
|
||||
AppDefaults.shared = UserDefaults.init(suiteName: "group.\(Bundle.main.bundleIdentifier!)")!
|
||||
|
||||
registerBackgroundTasks()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user