Procházet zdrojové kódy

avoid delay when switching between QRPageController and QRCodeReaderController

cyberta před 4 roky
rodič
revize
50f520cf49
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      deltachat-ios/Controller/QrPageController.swift

+ 1 - 1
deltachat-ios/Controller/QrPageController.swift

@@ -89,7 +89,7 @@ class QrPageController: UIPageViewController, ProgressAlertHandler {
         } else {
             let qrCodeReaderController = makeQRReader()
             self.qrCodeReaderController = qrCodeReaderController
-            setViewControllers([qrCodeReaderController], direction: .forward, animated: true, completion: nil)
+            setViewControllers([qrCodeReaderController], direction: .forward, animated: false, completion: nil)
         }
     }