mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Don't show the call button on macOS (#2064)
Calls don't work in the web view on macOS.
This commit is contained in:
@@ -155,8 +155,10 @@ struct RoomScreen: View {
|
|||||||
RoomHeaderView(context: context)
|
RoomHeaderView(context: context)
|
||||||
}
|
}
|
||||||
|
|
||||||
ToolbarItem(placement: .primaryAction) {
|
if !ProcessInfo.processInfo.isiOSAppOnMac {
|
||||||
callButton
|
ToolbarItem(placement: .primaryAction) {
|
||||||
|
callButton
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
Don't show the call button on macOS.
|
||||||
Reference in New Issue
Block a user