chore(ios): drops isTopBarActive, activeTopBarHeight

This commit is contained in:
jahorton 2024-03-06 08:29:22 +07:00
parent 78fb91400a
commit 8f1feeaecf

View file

@ -153,7 +153,7 @@ open class InputViewController: UIInputViewController, KeymanWebDelegate {
}
var expandedHeight: CGFloat {
return keymanWeb.keyboardHeight + activeTopBarHeight
return keymanWeb.keyboardHeight + InputViewController.topBarHeight
}
public convenience init() {
@ -459,15 +459,6 @@ open class InputViewController: UIInputViewController, KeymanWebDelegate {
baseWidthConstraint.isActive = true
}
public var isTopBarActive: Bool {
return true
}
public var activeTopBarHeight: CGFloat {
// If 'isSystemKeyboard' is true, always show the top bar.
return isTopBarActive ? CGFloat(InputViewController.topBarHeight) : 0
}
public var kmwHeight: CGFloat {
return keymanWeb.keyboardHeight
}