|
|
|
@ -16,6 +16,7 @@ enum ViewType {
|
|
|
|
|
case placeInMenubar |
|
|
|
|
case dayInMenubar |
|
|
|
|
case menubarCompactMode |
|
|
|
|
case dstTransitionInfo |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
class DataStore: NSObject { |
|
|
|
@ -138,6 +139,8 @@ class DataStore: NSObject {
|
|
|
|
|
return shouldDisplayHelper(CLShowDayInMenu) |
|
|
|
|
case .appDisplayOptions: |
|
|
|
|
return shouldDisplayHelper(CLAppDisplayOptions) |
|
|
|
|
case .dstTransitionInfo: |
|
|
|
|
return shouldDisplayHelper(CLDisplayDSTTransitionInfo) |
|
|
|
|
case .menubarCompactMode: |
|
|
|
|
guard let value = retrieve(key: CLMenubarCompactMode) as? Int else { |
|
|
|
|
return false |
|
|
|
|