remove unneeded check
This commit is contained in:
parent
c6e9c84809
commit
5d578b0eea
@ -44,7 +44,7 @@ import UIKit
|
||||
|
||||
for case let key as String in Array(loadedModules.keys) {
|
||||
guard modulesRequired.count > 0 else { break }
|
||||
if let index = modulesRequired.firstIndex(where: {($0 as? String) == key}), index != NSNotFound {
|
||||
if let index = modulesRequired.firstIndex(where: {($0 as? String) == key}) {
|
||||
modulesRequired.remove(at: index)
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user