marinofaggiana %!s(int64=5) %!d(string=hai) anos
pai
achega
1f5879052d
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      iOSClient/Trash/NCTrash.swift

+ 3 - 2
iOSClient/Trash/NCTrash.swift

@@ -74,8 +74,6 @@ class NCTrash: UIViewController, UIGestureRecognizerDelegate, NCTrashListCellDel
         collectionView.refreshControl = refreshControl
         
         // Configure Refresh Control
-        refreshControl.tintColor = NCBrandColor.sharedInstance.brandText
-        refreshControl.backgroundColor = NCBrandColor.sharedInstance.brand
         refreshControl.addTarget(self, action: #selector(loadListingTrash), for: .valueChanged)
         
         // empty Data Source
@@ -125,6 +123,9 @@ class NCTrash: UIViewController, UIGestureRecognizerDelegate, NCTrashListCellDel
     
     @objc func changeTheming() {
         appDelegate.changeTheming(self, tableView: nil, collectionView: collectionView)
+        
+        refreshControl.tintColor = NCBrandColor.sharedInstance.brandText
+        refreshControl.backgroundColor = NCBrandColor.sharedInstance.brand
     }
     
     // MARK: DZNEmpty