marinofaggiana 4 år sedan
förälder
incheckning
3f6f12258b
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      iOSClient/Media/NCMedia.swift

+ 1 - 1
iOSClient/Media/NCMedia.swift

@@ -139,7 +139,7 @@ class NCMedia: UIViewController, DropdownMenuDelegate, DZNEmptyDataSetSource, DZ
     //MARK: - Notification
     
     @objc func applicationWillEnterForeground() {
-        if self.view.window == nil {
+        if self.view.window != nil {
             self.viewDidAppear(false)
         }
     }