From 2370c227e301d9beddc922f1d232feab2692e1da Mon Sep 17 00:00:00 2001 From: Josh Perez <60019601+josh-signal@users.noreply.github.com> Date: Thu, 3 Jun 2021 17:25:39 -0400 Subject: [PATCH] Do not start presenting if closing the screen share modal --- ts/components/CallingSelectPresentingSourcesModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/components/CallingSelectPresentingSourcesModal.tsx b/ts/components/CallingSelectPresentingSourcesModal.tsx index f89b87c34efb..f4f5acadec7c 100644 --- a/ts/components/CallingSelectPresentingSourcesModal.tsx +++ b/ts/components/CallingSelectPresentingSourcesModal.tsx @@ -88,7 +88,7 @@ export const CallingSelectPresentingSourcesModal = ({ i18n={i18n} moduleClassName="module-CallingSelectPresentingSourcesModal" onClose={() => { - setPresenting(sourceToPresent); + setPresenting(); }} theme={Theme.Dark} title={i18n('calling__SelectPresentingSourcesModal--title')}