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_"