Browse Source

clear cache together with reloading data, otherwise, cells stay empty as of #1844

B. Petersen 2 years ago
parent
commit
7bd0292a4d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      deltachat-ios/Controller/GalleryViewController.swift

+ 1 - 0
deltachat-ios/Controller/GalleryViewController.swift

@@ -94,6 +94,7 @@ class GalleryViewController: UIViewController {
     }
 
     override func viewWillAppear(_ animated: Bool) {
+        galleryItemCache = [:]
         grid.reloadData()
         setupContextMenuIfNeeded()
     }