marinofaggiana hace 5 años
padre
commit
4cbb346a43
Se han modificado 1 ficheros con 3 adiciones y 4 borrados
  1. 3 4
      iOSClient/Main/NCDetailViewController.swift

+ 3 - 4
iOSClient/Main/NCDetailViewController.swift

@@ -140,10 +140,9 @@ class NCDetailViewController: UIViewController {
                     }
                     
                 // OTHER FILE TYPE
-                } else {
-                    if metadata.ocId == self.metadata?.ocId {
-                        viewUnload()
-                    }
+                } else if metadata.ocId == self.metadata?.ocId {
+                    
+                    viewUnload()
                 }
             }
         }