mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Update colors
This commit is contained in:
parent
3ea99e6eee
commit
6ed562a052
1 changed files with 3 additions and 3 deletions
|
|
@ -467,11 +467,11 @@ private final class ChatMessageActionButtonNode: ASDisplayNode {
|
|||
|
||||
switch color {
|
||||
case .primary:
|
||||
backgroundColorView.backgroundColor = UIColor(rgb: 0x0067D7, alpha: 0.55)
|
||||
backgroundColorView.backgroundColor = theme.theme.list.itemAccentColor.withMultipliedAlpha(0.7)
|
||||
case .danger:
|
||||
backgroundColorView.backgroundColor = UIColor(rgb: 0xD5000C, alpha: 0.55)
|
||||
backgroundColorView.backgroundColor = theme.theme.contextMenu.destructiveColor.withMultipliedAlpha(0.7)
|
||||
case .success:
|
||||
backgroundColorView.backgroundColor = UIColor(rgb: 0x127E2D, alpha: 0.55)
|
||||
backgroundColorView.backgroundColor = theme.theme.list.freeTextSuccessColor.withMultipliedAlpha(0.7)
|
||||
}
|
||||
} else if let backgroundColorView = node.backgroundColorView {
|
||||
node.backgroundColorView = nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue