Convert to Swift 5, convert QueueController to Swift.
This commit is contained in:
21 files changed
+846
-916
No files matched your search
@@ -75,7 +75,7 @@ final class PresetManager {
|
||||
}
|
||||
|
||||
func remove(item: Preset) throws {
|
||||
if let index = presets.index(where: { $0 === item }) {
|
||||
if let index = presets.firstIndex(where: { $0 === item }) {
|
||||
try remove(at: index)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user