Explorar o código

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

nayooti %!s(int64=5) %!d(string=hai) anos
pai
achega
2d0ffea58e
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      deltachat-ios/Controller/QrPageController.swift

+ 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