Marino Faggiana %!s(int64=6) %!d(string=hai) anos
pai
achega
9b795b75b2
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      iOSClient/Activity/NCActivity.swift

+ 3 - 1
iOSClient/Activity/NCActivity.swift

@@ -242,7 +242,7 @@ class activityTableViewCell: UITableViewCell, UICollectionViewDelegate, UICollec
         collectionView.reloadData()
     }
     
-    func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath) -> CGSize{
+    func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath) -> CGSize {
         let size = CGSize(width: 50, height: 50)
         return size
     }
@@ -260,6 +260,8 @@ class activityTableViewCell: UITableViewCell, UICollectionViewDelegate, UICollec
       
         if let cell: activityCollectionViewCell = collectionView.dequeueReusableCell(withReuseIdentifier: "collectionCell", for: indexPath) as? activityCollectionViewCell {
             
+            cell.imageView.image = nil
+            
             let activityPreview = tableActivityPreviews[indexPath.row]
             if activityPreview.view == "trashbin" {