marinofaggiana 4 년 전
부모
커밋
092fe7b163
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      iOSClient/Main/Collection/NCCollectionViewCommon.swift

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

@@ -637,6 +637,7 @@ class NCCollectionViewCommon: UIViewController, UIGestureRecognizerDelegate, UIS
     
     @objc func longPressCollecationView(gestureRecognizer: UILongPressGestureRecognizer) {
         if gestureRecognizer.state != .began { return }
+        if serverUrl == "" { return }
     
         //let type = pasteboard.types
         var title = "_paste_file_"