chore(ios/engine): a spot of cleanup + future note

This commit is contained in:
jahorton 2020-07-27 13:28:07 +07:00
parent 8c0828ade6
commit d3e89bea43

View file

@ -209,8 +209,12 @@ public class ResourceFileManager {
if let fullIDs = fullIDs {
do {
//try ResourceFileManager.shared.finalizePackageInstall(self.package, isCustom: self.isCustom)
try ResourceFileManager.shared.install(resourcesWithIDs: fullIDs, from: package)
if package is KeyboardKeymanPackage {
// TODO(?): We might should attempt an automatic download + install of lexical models
// for the specified language codes.
}
} catch {
if let kmpError = error as? KMPError {
let alert = self.buildKMPError(kmpError)