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]);