marinofaggiana %!s(int64=3) %!d(string=hai) anos
pai
achega
cd1f315133
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      iOSClient/Viewer/NCViewerVideo/NCViewerVideo.swift

+ 1 - 1
iOSClient/Viewer/NCViewerVideo/NCViewerVideo.swift

@@ -74,7 +74,7 @@ class NCViewerVideo: NSObject {
             if let view = view  {
 
                 self.videoLayer!.frame = view.bounds
-                self.videoLayer!.videoGravity = AVLayerVideoGravity.resizeAspectFill
+                self.videoLayer!.videoGravity = .resizeAspect
                 view.layer.addSublayer(self.videoLayer!)
                 
                 // At end go back to start & show toolbar