Don't show the call button on macOS (#2064)

Calls don't work in the web view on macOS.
This commit is contained in:
Doug
2023-11-13 07:32:42 +00:00
committed by GitHub
parent a2c2f872cd
commit 61af01e6fb
2 changed files with 5 additions and 2 deletions
@@ -155,8 +155,10 @@ struct RoomScreen: View {
RoomHeaderView(context: context)
}
ToolbarItem(placement: .primaryAction) {
callButton
if !ProcessInfo.processInfo.isiOSAppOnMac {
ToolbarItem(placement: .primaryAction) {
callButton
}
}
}