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 years ago
parent
commit
0bc5204ff0
1 changed files with 0 additions and 4 deletions
  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()
     }