fix: close room popup on stop share (#8914)

Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
Alexander Onnikov
2025-05-13 22:27:35 +07:00
committed by GitHub
parent 0605e1fa14
commit 13eb029644
@@ -108,6 +108,7 @@
const newValue = !$isSharingEnabled
const audio = newValue && $isShareWithSound
await setShare(newValue, audio)
dispatch('close')
}
async function leave (): Promise<void> {