change(ios/engine): minor polish

This commit is contained in:
jahorton 2020-06-03 10:12:07 +07:00
parent 3b3f95743d
commit d2993ed6ef
2 changed files with 1 additions and 3 deletions

View file

@ -26,8 +26,7 @@ public class KeymanPackage {
sourceFolder = folder
self.metadata = metadata
}
// to be overridden by subclasses
public func isKeyboard() -> Bool {
return metadata.packageType == .Keyboard
}

View file

@ -697,7 +697,6 @@ public class Manager: NSObject, UIGestureRecognizerDelegate {
filePath.appendPathComponent(item[0] as! String)
try FileManager.default.copyItem(at: filePath,
to: item[1] as! URL)
}
} catch {
log.error("Error saving the lexical model download: \(error)")