Set text color of apple folders

This commit is contained in:
Kylmakalle
2025-11-15 00:57:13 +02:00
parent f7801e7938
commit d18f863262

View File

@@ -234,8 +234,8 @@ private final class ItemNode: ASDisplayNode {
self.shortTitleNode.visibility = title.enableAnimations
if themeUpdated || titleUpdated {
self.titleNode.attributedText = title.attributedString(font: Font.medium(14.0), textColor: isSelected ? presentationData.theme.contextMenu.badgeForegroundColor : presentationData.theme.list.itemSecondaryTextColor)
self.shortTitleNode.attributedText = shortTitle.attributedString(font: Font.medium(14.0), textColor: isSelected ? presentationData.theme.contextMenu.badgeForegroundColor : presentationData.theme.list.itemSecondaryTextColor)
self.titleNode.attributedText = title.attributedString(font: Font.medium(14.0), textColor: isSelected ? presentationData.theme.rootController.tabBar.selectedTextColor : presentationData.theme.rootController.tabBar.textColor)
self.shortTitleNode.attributedText = shortTitle.attributedString(font: Font.medium(14.0), textColor: isSelected ? presentationData.theme.rootController.tabBar.selectedTextColor : presentationData.theme.rootController.tabBar.textColor)
}
//