mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Add UI tests for accepting space invites. (#4602)
* Fix the space visibility icon size in the join room screen. * Add a UI test for accepting space invites.
This commit is contained in:
@@ -78,7 +78,7 @@ struct JoinRoomScreen: View {
|
||||
.multilineTextAlignment(.center)
|
||||
} icon: {
|
||||
if let icon = context.viewState.subtitleIcon {
|
||||
CompoundIcon(icon)
|
||||
CompoundIcon(icon, size: .small, relativeTo: .compound.bodyLG)
|
||||
.foregroundStyle(.compound.iconTertiary)
|
||||
}
|
||||
}
|
||||
@@ -308,6 +308,7 @@ struct JoinRoomScreen: View {
|
||||
var joinButton: some View {
|
||||
Button(L10n.screenJoinRoomJoinAction) { context.send(viewAction: .join) }
|
||||
.buttonStyle(.compound(.super))
|
||||
.accessibilityIdentifier(A11yIdentifiers.joinRoomScreen.join)
|
||||
}
|
||||
|
||||
@ToolbarContentBuilder
|
||||
|
||||
Reference in New Issue
Block a user