marinofaggiana 5 년 전
부모
커밋
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)
         }
     }