فهرست منبع

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) {
-        // if would be better to reload on the corresponding events, see #1846
-        galleryItemCache = [:]
-        grid.reloadData()
-
         setupContextMenuIfNeeded()
     }