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 7aa1a4bd6..08aecd178 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 @@ -422,7 +422,10 @@ class _AppUtilitiesBottomSheetState extends State { optionText: meetingStore.isWhiteboardEnabled ? "Close Whiteboard" : "Open Whiteboard"), - if (AppDebugConfig.isVirtualBackgroundEnabled) + if (AppDebugConfig.isVirtualBackgroundEnabled && + (meetingStore.localPeer?.role.publishSettings?.allowed + .contains("video") ?? + false)) MoreOptionItem( onTap: () async { Navigator.pop(context);