Change AppDefaults to be final classes on macOS and iOS

This commit is contained in:
Maurice Parker 2020-07-02 05:36:23 -05:00
parent 2f8f6e54bd
commit d15dbe18ef
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ enum FontSize: Int {
case veryLarge = 3 case veryLarge = 3
} }
struct AppDefaults { final class AppDefaults {
static var shared = AppDefaults() static var shared = AppDefaults()
private init() {} private init() {}

View File

@ -26,7 +26,7 @@ enum UserInterfaceColorPalette: Int, CustomStringConvertible, CaseIterable {
} }
class AppDefaults { final class AppDefaults {
static let shared = AppDefaults() static let shared = AppDefaults()
private init() {} private init() {}