Do not start presenting if closing the screen share modal

This commit is contained in:
Josh Perez 2021-06-03 17:25:39 -04:00 committed by GitHub
parent e0d613f1b6
commit 2370c227e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -88,7 +88,7 @@ export const CallingSelectPresentingSourcesModal = ({
i18n={i18n}
moduleClassName="module-CallingSelectPresentingSourcesModal"
onClose={() => {
setPresenting(sourceToPresent);
setPresenting();
}}
theme={Theme.Dark}
title={i18n('calling__SelectPresentingSourcesModal--title')}