[Libreoffice-commits] online.git: Branch 'distro/collabora/co-4-2' - ios/Mobile

Tor Lillqvist (via logerrit) logerrit at kemper.freedesktop.org
Wed Sep 30 16:36:35 UTC 2020


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

New commits:
commit 470e20011a86708009d9adbc4c42def596d978a9
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 18:36:16 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/+/103707
    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 7dbf181ee..a2a520e56 100644
--- a/ios/Mobile/DocumentViewController.mm
+++ b/ios/Mobile/DocumentViewController.mm
@@ -105,10 +105,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