Change AppDefaults to be final classes on macOS and iOS

This commit is contained in:
Maurice Parker committed 2020-07-02 05:36:23 -05:00
1 parent 2f8f6e54bd
commit d15dbe18ef
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ enum FontSize: Int {
case veryLarge = 3
}
struct AppDefaults {
final class AppDefaults {
static var shared = AppDefaults()
private init() {}
+1 -1
View File
@@ -26,7 +26,7 @@ enum UserInterfaceColorPalette: Int, CustomStringConvertible, CaseIterable {
}
class AppDefaults {
final class AppDefaults {
static let shared = AppDefaults()
private init() {}