marinofaggiana %!s(int64=5) %!d(string=hai) anos
pai
achega
910a4bdc61

+ 1 - 0
iOSClient/Main/ActionSheetHeaderView/NCActionSheetHeader.swift

@@ -50,6 +50,7 @@ class NCActionSheetHeader: NSObject {
         
         let headerView = UINib(nibName: "NCActionSheetHeaderView", bundle: nil).instantiate(withOwner: self, options: nil).first as! NCActionSheetHeaderView
         
+        headerView.backgroundColor = NCBrandColor.sharedInstance.backgroundForm
         headerView.imageItem.image = image
         headerView.label.text = text
         headerView.label.textColor = NCBrandColor.sharedInstance.icon

+ 3 - 1
iOSClient/Offline/NCOffline.swift

@@ -608,7 +608,8 @@ extension NCOffline: UICollectionViewDataSource {
                 }
                 
                 header.delegate = self
-                
+                header.backgroundColor = NCBrandColor.sharedInstance.backgroundView
+                header.separator.backgroundColor = NCBrandColor.sharedInstance.separator
                 header.setStatusButton(count: sectionDatasource.allOcId.count)
                 header.setTitleOrder(datasourceSorted: datasourceSorted, datasourceAscending: datasourceAscending)
                 
@@ -676,6 +677,7 @@ extension NCOffline: UICollectionViewDataSource {
             cell = collectionView.dequeueReusableCell(withReuseIdentifier: "gridCell", for: indexPath) as! NCGridCell
         } else {
             cell = collectionView.dequeueReusableCell(withReuseIdentifier: "listCell", for: indexPath) as! NCListCell
+            (cell as! NCListCell).separator.backgroundColor = NCBrandColor.sharedInstance.separator
         }
         
         let shares = NCManageDatabase.sharedInstance.getTableShares(account: metadata.account, serverUrl: metadata.serverUrl, fileName: metadata.fileName)