From af4457f68fa763ec7948aa94b1315516b25c66ff Mon Sep 17 00:00:00 2001 From: warrickct Date: Thu, 24 Feb 2022 15:42:49 +1100 Subject: [PATCH] Clicking message icon in action panel closes request overlay. --- ts/components/leftpane/ActionsPanel.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ts/components/leftpane/ActionsPanel.tsx b/ts/components/leftpane/ActionsPanel.tsx index ed321dd1a..990ee501b 100644 --- a/ts/components/leftpane/ActionsPanel.tsx +++ b/ts/components/leftpane/ActionsPanel.tsx @@ -25,7 +25,7 @@ import { import { applyTheme } from '../../state/ducks/theme'; import { getFocusedSection } from '../../state/selectors/section'; import { clearSearch } from '../../state/ducks/search'; -import { SectionType, showLeftPaneSection } from '../../state/ducks/section'; +import { SectionType, setOverlayMode, showLeftPaneSection } from '../../state/ducks/section'; import { cleanUpOldDecryptedMedias } from '../../session/crypto/DecryptedAttachmentsManager'; @@ -83,6 +83,7 @@ const Section = (props: { type: SectionType }) => { } else { dispatch(clearSearch()); dispatch(showLeftPaneSection(type)); + dispatch(setOverlayMode(undefined)); } };