marinofaggiana 4 years ago
parent
commit
5bed8b6209
1 changed files with 2 additions and 0 deletions
  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() {