Эх сурвалжийг харах

fix

Signed-off-by: marinofaggiana <ios@nextcloud.com>
marinofaggiana 3 жил өмнө
parent
commit
25305daf6a

+ 1 - 1
iOSClient/Main/Collection Common/NCCollectionViewCommon.swift

@@ -615,7 +615,7 @@ class NCCollectionViewCommon: UIViewController, UIGestureRecognizerDelegate, UIS
         button.action(for: .touchUpInside) { _ in
             
             let accounts = NCManageDatabase.shared.getAllAccountOrderAlias()
-            if accounts.count > 0 {
+            if accounts.count > 0 && !NCBrandOptions.shared.disable_multiaccount && !NCBrandOptions.shared.disable_manage_account {
                 
                 if let vcAccountRequest = UIStoryboard(name: "NCAccountRequest", bundle: nil).instantiateInitialViewController() as? NCAccountRequest {
                     

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

@@ -105,10 +105,7 @@ class NCPlayer: NSObject {
 #endif
 
         // Check already started
-        if isStartPlayer {
-            activateObserver()
-            return
-        }
+        if isStartPlayer { return }
 
         playerToolBar?.show()
         setUpForSubtitle()