Просмотр исходного кода

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

B. Petersen 2 лет назад
Родитель
Сommit
7bd0292a4d
1 измененных файлов с 1 добавлено и 0 удалено
  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()
     }