Tweak the RoomHeaderView to match Figma. (#4975)

This commit is contained in:
Doug
2026-01-20 13:09:35 +00:00
committed by GitHub
parent 6e89b49063
commit 0360db7924
73 changed files with 193 additions and 156 deletions
@@ -226,6 +226,10 @@ struct RoomScreen_Previews: PreviewProvider, TestablePreview {
}
static func makeViewModels(canSendMessage: Bool = true, hasSuccessor: Bool = false) -> ViewModels {
// TimelineItemBubbledStylerView sets enableKeyShareOnInvite to true which if run
// before these tests, ends up adding a banner to the snapshots.
AppSettings.resetAllSettings()
let roomProxyMock = JoinedRoomProxyMock(.init(id: "stable_id",
name: "Preview room",
hasOngoingCall: true,