When reacting to a group story keep the modal open

This commit is contained in:
Josh Perez 2022-07-28 20:17:00 -04:00 committed by GitHub
parent 0350692034
commit 32e694d8a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -714,7 +714,9 @@ export const StoryViewer = ({
onClose={() => setHasStoryViewsNRepliesModal(false)} onClose={() => setHasStoryViewsNRepliesModal(false)}
onReact={emoji => { onReact={emoji => {
onReactToStory(emoji, story); onReactToStory(emoji, story);
setHasStoryViewsNRepliesModal(false); if (!isGroupStory) {
setHasStoryViewsNRepliesModal(false);
}
setReactionEmoji(emoji); setReactionEmoji(emoji);
showToast(ToastType.StoryReact); showToast(ToastType.StoryReact);
}} }}