[WIP] Video chat screen V2

This commit is contained in:
Isaac
2024-08-23 19:37:33 +08:00
parent 67ed88e951
commit 33e78cd5ed
19 changed files with 1927 additions and 398 deletions

View File

@@ -225,7 +225,7 @@ final class ContextResultPanelComponent: Component {
sideInset: itemLayout.sideInset,
title: peer.displayTitle(strings: component.strings, displayOrder: .firstLast),
peer: peer,
subtitle: peer.addressName.flatMap { "@\($0)" },
subtitle: peer.addressName.flatMap { PeerListItemComponent.Subtitle(text: "@\($0)", color: .neutral) },
subtitleAccessory: .none,
presence: nil,
selectionState: .none,
@@ -294,7 +294,7 @@ final class ContextResultPanelComponent: Component {
sideInset: sideInset,
title: "AAAAAAAAAAAA",
peer: nil,
subtitle: "BBBBBBB",
subtitle: PeerListItemComponent.Subtitle(text: "BBBBBBB", color: .neutral),
subtitleAccessory: .none,
presence: nil,
selectionState: .none,