marinofaggiana %!s(int64=5) %!d(string=hai) anos
pai
achega
94f2d503aa
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      iOSClient/Main/NCDetailViewController.swift

+ 2 - 2
iOSClient/Main/NCDetailViewController.swift

@@ -312,7 +312,7 @@ class NCDetailViewController: UIViewController, MediaBrowserViewControllerDelega
     func mediaBrowser(_ mediaBrowser: MediaBrowserViewController, didChangeFocusTo index: Int) {
         if index >= metadatas.count { return }
         
-        let metadata = metadatas[index]
-        self.navigationController?.navigationBar.topItem?.title = metadata.fileNameView
+        metadata = metadatas[index]
+        self.navigationController?.navigationBar.topItem?.title = metadata!.fileNameView
     }
 }