From 0962566cb582d07e951270f3d2926146d9b82df6 Mon Sep 17 00:00:00 2001 From: Decoder07 Date: Tue, 26 Dec 2023 18:19:33 +0530 Subject: [PATCH] Added screenshare option based on role permissions --- .../src/widgets/bottom_sheets/app_utilities_bottom_sheet.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/hms_room_kit/lib/src/widgets/bottom_sheets/app_utilities_bottom_sheet.dart b/packages/hms_room_kit/lib/src/widgets/bottom_sheets/app_utilities_bottom_sheet.dart index d46fd1935..7734f2aa3 100644 --- a/packages/hms_room_kit/lib/src/widgets/bottom_sheets/app_utilities_bottom_sheet.dart +++ b/packages/hms_room_kit/lib/src/widgets/bottom_sheets/app_utilities_bottom_sheet.dart @@ -133,6 +133,7 @@ class _AppUtilitiesBottomSheetState extends State { optionText: "Participants"), ///This renders the screen share option + if(meetingStore.localPeer?.role.publishSettings?.allowed.contains("screen") ?? false) MoreOptionItem( onTap: () async { Navigator.pop(context);