Make it more clear that we are using shared defaults
This commit is contained in:
parent
e60ce37dc9
commit
80a5a539e8
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue