marinofaggiana 4 年之前
父節點
當前提交
3f6f12258b
共有 1 個文件被更改,包括 1 次插入1 次删除
  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)
         }
     }