浏览代码

do not reload data on reopening view, there is not much reason to do it that way as the array of message-ids is not updated anyway

B. Petersen 2 年之前
父节点
当前提交
0bc5204ff0
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      deltachat-ios/Controller/GalleryViewController.swift

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

@@ -94,10 +94,6 @@ class GalleryViewController: UIViewController {
     }
     }
 
 
     override func viewWillAppear(_ animated: Bool) {
     override func viewWillAppear(_ animated: Bool) {
-        // if would be better to reload on the corresponding events, see #1846
-        galleryItemCache = [:]
-        grid.reloadData()
-
         setupContextMenuIfNeeded()
         setupContextMenuIfNeeded()
     }
     }