summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2021-05-17 10:41:57 +0200
committerAndrej Mihajlov <and@mullvad.net>2021-05-18 10:48:13 +0200
commite05ed21cf044466ba41fc0af22ea58ac1c5721ed (patch)
tree57880870c9449ff81028063171718c09456850c4
parent9171f7633e6cbf686f0ddbe4aa2f126e2d634513 (diff)
downloadmullvadvpn-e05ed21cf044466ba41fc0af22ea58ac1c5721ed.tar.xz
mullvadvpn-e05ed21cf044466ba41fc0af22ea58ac1c5721ed.zip
RootContainer: delegate disablesAutomaticKeyboardDismissal to the top controller
-rw-r--r--ios/MullvadVPN/RootContainerViewController.swift4
1 files changed, 4 insertions, 0 deletions
diff --git a/ios/MullvadVPN/RootContainerViewController.swift b/ios/MullvadVPN/RootContainerViewController.swift
index ad5a76996e..d692e30835 100644
--- a/ios/MullvadVPN/RootContainerViewController.swift
+++ b/ios/MullvadVPN/RootContainerViewController.swift
@@ -86,6 +86,10 @@ class RootContainerViewController: UIViewController {
return false
}
+ override var disablesAutomaticKeyboardDismissal: Bool {
+ return topViewController?.disablesAutomaticKeyboardDismissal ?? super.disablesAutomaticKeyboardDismissal
+ }
+
// MARK: - View lifecycle
override func viewDidLoad() {