Merge branch 'krille/enable-screensharing' into 'main'

feat: Enable screensharing on Mobile

See merge request famedly/fluffychat!851
This commit is contained in:
Krille Fear 2022-05-01 10:40:48 +00:00
commit cc2bbd1928

View File

@ -401,7 +401,8 @@ class _MyCallingPage extends State<Calling> {
//switchSpeakerButton, //switchSpeakerButton,
if (!voiceonly && !kIsWeb) switchCameraButton, if (!voiceonly && !kIsWeb) switchCameraButton,
if (!voiceonly) muteCameraButton, if (!voiceonly) muteCameraButton,
if (kIsWeb) screenSharingButton, if (PlatformInfos.isMobile || PlatformInfos.isWeb)
screenSharingButton,
holdButton, holdButton,
hangupButton, hangupButton,
]; ];