From 8f1feeaecf952e1d32aae879b59fae0f11aeeb9e Mon Sep 17 00:00:00 2001 From: jahorton Date: Wed, 6 Mar 2024 08:29:22 +0700 Subject: [PATCH] chore(ios): drops isTopBarActive, activeTopBarHeight --- .../Classes/Keyboard/InputViewController.swift | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/ios/engine/KMEI/KeymanEngine/Classes/Keyboard/InputViewController.swift b/ios/engine/KMEI/KeymanEngine/Classes/Keyboard/InputViewController.swift index 8e539bfe84..172385c6fc 100644 --- a/ios/engine/KMEI/KeymanEngine/Classes/Keyboard/InputViewController.swift +++ b/ios/engine/KMEI/KeymanEngine/Classes/Keyboard/InputViewController.swift @@ -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 }