summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2020-09-30 17:00:11 +0300
committerTor Lillqvist <tml@collabora.com>2020-09-30 21:57:11 +0200
commitd0edfeabbdc969a9a66cf90976a63c2f4403a6d3 (patch)
treec48817f4984c44385a537c0ac5f35066eceefd0e
parentc8b1b8623a7bc7d36027001d2c6ce369009dc0f0 (diff)
tdf#133279: Use CollaboraOnlineWebViewKeyboardManager also for hw keyboardsHEADmaster
In theory, this doesn't make sense. In practice, it helps. Change-Id: I34d03a812c543e1b112851c9e9ff512f2482a20c Reviewed-on: https://gerrit.libreoffice.org/c/online/+/103714 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tor Lillqvist <tml@collabora.com>
-rw-r--r--ios/Mobile/DocumentViewController.mm6
1 files changed, 2 insertions, 4 deletions
diff --git a/ios/Mobile/DocumentViewController.mm b/ios/Mobile/DocumentViewController.mm
index 5be21cd0f..53b2d4488 100644
--- a/ios/Mobile/DocumentViewController.mm
+++ b/ios/Mobile/DocumentViewController.mm
@@ -102,10 +102,8 @@ static IMP standardImpOfInputAccessoryView = nil;
// contents is handled fully in JavaScript, the WebView has no knowledge of that.)
self.webView.scrollView.delegate = self;
- if (!isExternalKeyboardAttached()) {
- keyboardManager =
- [[CollaboraOnlineWebViewKeyboardManager alloc] initForWebView:self.webView];
- }
+ keyboardManager =
+ [[CollaboraOnlineWebViewKeyboardManager alloc] initForWebView:self.webView];
[self.view addSubview:self.webView];