marinofaggiana 4 년 전
부모
커밋
fc0f260395
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      iOSClient/AppDelegate.swift

+ 3 - 2
iOSClient/AppDelegate.swift

@@ -732,8 +732,9 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
                             fileName = pathScheme
                             serverUrl = matchedAccount!.urlBase + "/" + webDAV
                         }
-                        NCCollectionCommon.shared.openFileViewInFolder(serverUrl: serverUrl, fileName: fileName)
-                        
+                        DispatchQueue.main.asyncAfter(deadline: .now() + 0.5) {
+                            NCCollectionCommon.shared.openFileViewInFolder(serverUrl: serverUrl, fileName: fileName)
+                        }
                     } else {
                         
                         guard let domain = URL(string: linkScheme)?.host else { return true }