[MM-48282] When user selects open in channel, dismiss the bottom sheet (#6956)

This commit is contained in:
Jason Frerich
2023-01-18 16:26:05 -06:00
committed by GitHub
parent 0222504cc9
commit 88afe7db91

View File

@@ -42,6 +42,9 @@ const OptionMenus = ({
const handlePermalink = useCallback(() => {
if (fileInfo.post_id) {
if (!isTablet) {
dismissBottomSheet();
}
showPermalink(serverUrl, '', fileInfo.post_id);
setAction('opening');
}