marinofaggiana 4 лет назад
Родитель
Сommit
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_"