Initial work for the queue presets.
This commit is contained in:
11 files changed
+317
-386
No files matched your search
@@ -48,7 +48,7 @@ extension PresetManager.Error: LocalizedError {
|
||||
case alreadyExists
|
||||
}
|
||||
|
||||
@objc func append(newElement: Preset) throws {
|
||||
func append(newElement: Preset) throws {
|
||||
if item(name: newElement.title) != nil {
|
||||
throw Error.alreadyExists
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user