Browse Source

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 năm trước cách đây
mục cha
commit
0bc5204ff0
1 tập tin đã thay đổi với 0 bổ sung4 xóa
  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) {
-        // if would be better to reload on the corresponding events, see #1846
-        galleryItemCache = [:]
-        grid.reloadData()
-
         setupContextMenuIfNeeded()
     }