diff --git a/MTMR/Info.plist b/MTMR/Info.plist
index cf6e337..0ae37d8 100644
--- a/MTMR/Info.plist
+++ b/MTMR/Info.plist
@@ -19,7 +19,7 @@
CFBundleShortVersionString
0.19
CFBundleVersion
- 109
+ 112
LSApplicationCategoryType
public.app-category.utilities
LSMinimumSystemVersion
diff --git a/MTMR/ItemsParsing.swift b/MTMR/ItemsParsing.swift
index 7843aff..c9c5038 100644
--- a/MTMR/ItemsParsing.swift
+++ b/MTMR/ItemsParsing.swift
@@ -292,34 +292,17 @@ class SupportedTypesHolder {
parameters: [:]
)
},
-
- "nightShift": { _ in
- (
- item: .nightShift(),
- action: .none,
- longAction: .none,
- parameters: [:]
- )
- },
-
- "dnd": { _ in
- (
- item: .dnd(),
- action: .none,
- longAction: .none,
- parameters: [:]
- )
- },
-
- PomodoroBarItem.name: PomodoroBarItem.decoder,
]
static let sharedInstance = SupportedTypesHolder()
func lookup(by type: String) -> ParametersDecoder {
- return supportedTypes[type] ?? { decoder in
- (item: try ItemType(from: decoder), action: try ActionType(from: decoder), longAction: try LongActionType(from: decoder), parameters: [:])
- }
+ return supportedTypes[type] ?? { decoder in (
+ item: try ItemType(from: decoder),
+ action: try ActionType(from: decoder),
+ longAction: try LongActionType(from: decoder),
+ parameters: [:]
+ )}
}
func register(typename: String, decoder: @escaping ParametersDecoder) {