Merge pull request #453 from keymanapp/ios-fix-build

Use the correct delegate variable name
This commit is contained in:
Gabriel Wong 2017-11-28 10:58:25 +07:00 committed by GitHub
commit 0485e99b4e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -139,7 +139,7 @@ open class InputViewController: UIInputViewController, KeymanWebDelegate {
//TODO: find out why this is actually happening
if let containerView = self.containerView {
if containerView.subviews.isEmpty {
Manager.shared.inputDelegate = self
Manager.shared.keymanWebDelegate = self
containerView.addSubview(kmInputView)
}
}