marinofaggiana 4 năm trước cách đây
mục cha
commit
5bed8b6209
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      iOSClient/Main/Collection/NCCollectionViewCommon.swift

+ 2 - 0
iOSClient/Main/Collection/NCCollectionViewCommon.swift

@@ -206,6 +206,8 @@ class NCCollectionViewCommon: UIViewController, UIGestureRecognizerDelegate, UIS
 
     @objc func initializeMain() {
         self.navigationController?.popToRootViewController(animated: false)
+        appDelegate.listFavoriteVC.removeAllObjects()
+        appDelegate.listOfflineVC.removeAllObjects()
     }
     
     @objc func changeTheming() {