Rename properties and sort members in advance.

This commit is contained in:
Doug
2026-08-03 12:16:19 +01:00
committed by Doug
parent 3ab0aacabf
commit 1e78825b0b
18 changed files with 49 additions and 47 deletions
@@ -56,7 +56,7 @@ struct RoomMembersListScreenMemberCell: View {
.foregroundStyle(.compound.textSecondary)
}
if listEntry.isInCall {
if listEntry.isActiveRoomCallParticipant {
CompoundIcon(\.videoCallSolid, size: .small, relativeTo: .compound.bodyLG)
.foregroundStyle(.compound.iconAccentPrimary)
.accessibilityLabel(L10n.commonOnACall)
@@ -125,7 +125,7 @@ struct RoomMembersListMemberCell_Previews: PreviewProvider, TestablePreview {
verificationState: .verificationViolation),
.init(member: .init(withProxy: RoomMemberProxyMock.mockFrank),
verificationState: .notVerified,
isInCall: true),
isActiveRoomCallParticipant: true),
.init(member: .init(withProxy: RoomMemberProxyMock(with: .init(userID: "@nodisplayname:matrix.org",
membership: .join))),
verificationState: .notVerified),