Explorar el Código

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

B. Petersen hace 2 años
padre
commit
7bd0292a4d
Se han modificado 1 ficheros con 1 adiciones y 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()
     }