[WIP] Colored profiles

This commit is contained in:
Isaac
2023-11-22 01:05:47 +04:00
parent 2d01508e55
commit 66b3d8b874
69 changed files with 1626 additions and 529 deletions

View File

@@ -169,9 +169,9 @@ final class EntityKeyboardAnimationTopPanelComponent: Component {
case .none:
break
case .primary:
itemLayer.layerTintColor = component.theme.list.itemPrimaryTextColor.cgColor
itemLayer.layerTintColor = component.customTintColor?.cgColor ?? component.theme.list.itemPrimaryTextColor.cgColor
case .accent:
itemLayer.layerTintColor = component.theme.list.itemAccentColor.cgColor
itemLayer.layerTintColor = component.customTintColor?.cgColor ?? component.theme.list.itemAccentColor.cgColor
case let .custom(color):
itemLayer.layerTintColor = component.customTintColor?.cgColor ?? color.cgColor
}