marinofaggiana 4 years ago
parent
commit
607ec34436
1 changed files with 3 additions and 1 deletions
  1. 3 1
      iOSClient/FileViewInFolder/NCFileViewInFolder.swift

+ 3 - 1
iOSClient/FileViewInFolder/NCFileViewInFolder.swift

@@ -69,7 +69,9 @@ class NCFileViewInFolder: NCCollectionViewCommon  {
     }
     
     @objc func tapClose(sender: Any) {
-        dismiss(animated: true, completion: nil)
+        dismiss(animated: true) {
+            self.appDelegate.activeFileViewInFolder = nil
+        }
     }
     
     // MARK: - DataSource + NC Endpoint