[Libreoffice-commits] online.git: ios/Mobile

Tor Lillqvist (via logerrit) logerrit at kemper.freedesktop.org
Wed Sep 30 19:57:30 UTC 2020


 ios/Mobile/DocumentViewController.mm |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

New commits:
commit d0edfeabbdc969a9a66cf90976a63c2f4403a6d3
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Wed Sep 30 17:00:11 2020 +0300
Commit:     Tor Lillqvist <tml at collabora.com>
CommitDate: Wed Sep 30 21:57:11 2020 +0200

    tdf#133279: Use CollaboraOnlineWebViewKeyboardManager also for hw keyboards
    
    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 at gmail.com>
    Reviewed-by: Tor Lillqvist <tml at collabora.com>

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];
 


More information about the Libreoffice-commits mailing list