From b7f54b9492831b1b0f8c78444075e4d58f6fff5a Mon Sep 17 00:00:00 2001 From: Decoder07 Date: Fri, 7 Jun 2024 03:17:13 +0530 Subject: [PATCH] Fixed full screen share issue --- packages/hms_room_kit/lib/src/meeting/meeting_store.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/hms_room_kit/lib/src/meeting/meeting_store.dart b/packages/hms_room_kit/lib/src/meeting/meeting_store.dart index 09d7b0c71..e2be27e2d 100644 --- a/packages/hms_room_kit/lib/src/meeting/meeting_store.dart +++ b/packages/hms_room_kit/lib/src/meeting/meeting_store.dart @@ -1763,6 +1763,9 @@ class MeetingStore extends ChangeNotifier currentScreenSharePage--; } screenShareCount--; + if (screenShareCount == 0) { + isScreenshareWhiteboardFullScreen = false; + } peerTracks.removeAt(peerIndex); notifyListeners(); // changePIPWindowTextOnIOS(text: localPeer?.name, ratio: [9, 16]);