Explorar o código

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

B. Petersen %!s(int64=2) %!d(string=hai) anos
pai
achega
7bd0292a4d
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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()
     }