Преглед на файлове

avoid delay when switching between QRPageController and QRCodeReaderController

cyberta преди 4 години
родител
ревизия
50f520cf49
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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)
         }
     }