From d18f8632626266c339f268c3a6f402dfd99f61eb Mon Sep 17 00:00:00 2001 From: Kylmakalle Date: Sat, 15 Nov 2025 00:57:13 +0200 Subject: [PATCH] Set text color of apple folders --- Swiftgram/AppleStyleFolders/Sources/File.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Swiftgram/AppleStyleFolders/Sources/File.swift b/Swiftgram/AppleStyleFolders/Sources/File.swift index 536250e061..8c7712e6b9 100644 --- a/Swiftgram/AppleStyleFolders/Sources/File.swift +++ b/Swiftgram/AppleStyleFolders/Sources/File.swift @@ -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) } //