Continue removing ExtensionPoint code.

This commit is contained in:
Brent Simmons
2023-06-30 22:08:17 -07:00
parent a8fa627c6b
commit 641e35322c
6 changed files with 0 additions and 144 deletions

View File

@@ -43,7 +43,6 @@ final class AppDefaults: ObservableObject {
struct Key {
static let userInterfaceColorPalette = "userInterfaceColorPalette"
static let activeExtensionPointIDs = "activeExtensionPointIDs"
static let lastImageCacheFlushDate = "lastImageCacheFlushDate"
static let firstRunDate = "firstRunDate"
static let timelineGroupByFeed = "timelineGroupByFeed"
@@ -122,16 +121,6 @@ final class AppDefaults: ObservableObject {
}
}
var activeExtensionPointIDs: [[AnyHashable : AnyHashable]]? {
get {
return UserDefaults.standard.object(forKey: Key.activeExtensionPointIDs) as? [[AnyHashable : AnyHashable]]
}
set {
UserDefaults.standard.set(newValue, forKey: Key.activeExtensionPointIDs)
AppDefaults.shared.objectWillChange.send()
}
}
var hasUsedFullScreenPreviously: Bool {
get {
return UserDefaults.standard.bool(forKey: Key.hasUsedFullScreenPreviously)