Browse Source

avoid delay when switching between QRPageController and QRCodeReaderController

cyberta 4 năm trước cách đây
mục cha
commit
50f520cf49
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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)
         }
     }