Эх сурвалжийг харах

set page bg color white on non iOS13 devices as temp fix

nayooti 5 жил өмнө
parent
commit
2d0ffea58e

+ 5 - 0
deltachat-ios/Controller/QrPageController.swift

@@ -31,6 +31,11 @@ class QrPageController: UIPageViewController, ProgressAlertHandler {
     // MARK: - lifecycle
     override func viewDidLoad() {
         super.viewDidLoad()
+        if #available(iOS 13, *) {}
+        else {
+            // temp fix - ToDo: check if this is needed for >iOS13 devices 
+            self.view.backgroundColor = .white
+        }
         dataSource = self
         delegate = self
         navigationItem.titleView = qrSegmentControl