marinofaggiana 6 年 前
コミット
cf705851ad
1 ファイル変更4 行追加0 行削除
  1. 4 0
      iOSClient/Media/NCMedia.swift

+ 4 - 0
iOSClient/Media/NCMedia.swift

@@ -318,6 +318,10 @@ class NCMedia: UIViewController ,UICollectionViewDataSource, UICollectionViewDel
     
     func deleteItems() {
         
+        if appDelegate.activeAccount.count == 0 {
+            return
+        }
+        
         var metadatas = [tableMetadata]()
         
         for fileID in selectFileID {