瀏覽代碼

Merge pull request #2153 from nextcloud/444

Version 4.4.4
Marino Faggiana 2 年之前
父節點
當前提交
785041f03c
共有 2 個文件被更改,包括 4 次插入3 次删除
  1. 2 2
      Nextcloud.xcodeproj/project.pbxproj
  2. 2 1
      iOSClient/Viewer/NCViewerMedia/NCPlayer/NCPlayer.swift

+ 2 - 2
Nextcloud.xcodeproj/project.pbxproj

@@ -3030,7 +3030,7 @@
 					"@executable_path/Frameworks",
 					"@executable_path/../../Frameworks",
 				);
-				MARKETING_VERSION = 4.4.3;
+				MARKETING_VERSION = 4.4.4;
 				ONLY_ACTIVE_ARCH = YES;
 				OTHER_LDFLAGS = "";
 				SDKROOT = iphoneos;
@@ -3091,7 +3091,7 @@
 					"@executable_path/Frameworks",
 					"@executable_path/../../Frameworks",
 				);
-				MARKETING_VERSION = 4.4.3;
+				MARKETING_VERSION = 4.4.4;
 				ONLY_ACTIVE_ARCH = YES;
 				OTHER_LDFLAGS = "";
 				SDKROOT = iphoneos;

+ 2 - 1
iOSClient/Viewer/NCViewerMedia/NCPlayer/NCPlayer.swift

@@ -135,7 +135,8 @@ class NCPlayer: NSObject {
             if let player = self.player,
                let playerItem = player.currentItem,
                let object = player.currentItem,
-               playerItem === object {
+               playerItem === object,
+               self.viewController != nil {
 
                 if self.isStartPlayer {
                     return