Voice Chat volume UI

This commit is contained in:
Ilya Laktyushin
2020-12-29 22:10:33 +04:00
parent ec5b568d15
commit a706c210de
18 changed files with 6301 additions and 5630 deletions

View File

@@ -24,6 +24,7 @@ final class VoiceChatParticipantItem: ListViewItem {
case generic
case accent
case constructive
case destructive
}
case presence
@@ -363,6 +364,9 @@ class VoiceChatParticipantItemNode: ItemListRevealOptionsItemNode {
wavesColor = textColorValue
case .constructive:
textColorValue = UIColor(rgb: 0x34c759)
case .destructive:
textColorValue = UIColor(rgb: 0xff3b30)
wavesColor = textColorValue
}
statusAttributedString = NSAttributedString(string: text, font: statusFont, textColor: textColorValue)
case .none: