|
@@ -1817,7 +1817,7 @@ extension NCCollectionViewCommon: UICollectionViewDataSource {
|
|
|
}
|
|
|
|
|
|
header.delegate = self
|
|
|
- header.setStatusButtonsView(enable: dataSource.metadatasSource.count > 0)
|
|
|
+ header.setStatusButtonsView(enable: !dataSource.metadatasSource.isEmpty)
|
|
|
header.setSortedTitle(layoutForView?.titleButtonHeader ?? "")
|
|
|
header.setRichWorkspaceText(richWorkspaceText)
|
|
|
header.labelSection.text = self.dataSource.getSectionValue(indexPath: indexPath).firstUppercased
|