diff --git a/ElementX/Sources/Screens/RoomScreen/View/RoomCallControlsToolbar.swift b/ElementX/Sources/Screens/RoomScreen/View/RoomCallControlsToolbar.swift index a037722fe..a896a1303 100644 --- a/ElementX/Sources/Screens/RoomScreen/View/RoomCallControlsToolbar.swift +++ b/ElementX/Sources/Screens/RoomScreen/View/RoomCallControlsToolbar.swift @@ -46,14 +46,6 @@ struct RoomCallControlsToolbar: ToolbarContent { .disabled(!viewState.canJoinCall) } } else { - ToolbarItem(placement: .primaryAction) { - Button { onCallTap(true) } label: { - CompoundIcon(\.voiceCallSolid) - } - .accessibilityLabel(L10n.a11yStartVoiceCall) - .accessibilityIdentifier(A11yIdentifiers.roomScreen.startVoiceCall) - .disabled(!viewState.canJoinCall) - } ToolbarItem(placement: .primaryAction) { Button { onCallTap(false) } label: { CompoundIcon(\.videoCallSolid) @@ -62,6 +54,15 @@ struct RoomCallControlsToolbar: ToolbarContent { .accessibilityIdentifier(A11yIdentifiers.roomScreen.startVideoCall) .disabled(!viewState.canJoinCall) } + + ToolbarItem(placement: .primaryAction) { + Button { onCallTap(true) } label: { + CompoundIcon(\.voiceCallSolid) + } + .accessibilityLabel(L10n.a11yStartVoiceCall) + .accessibilityIdentifier(A11yIdentifiers.roomScreen.startVoiceCall) + .disabled(!viewState.canJoinCall) + } } } else { ToolbarItem(placement: .primaryAction) {