[MM-48282] When user selects open in channel, dismiss the bottom sheet (#6956)
This commit is contained in:
parent
0222504cc9
commit
88afe7db91
1 changed files with 3 additions and 0 deletions
|
|
@ -42,6 +42,9 @@ const OptionMenus = ({
|
|||
|
||||
const handlePermalink = useCallback(() => {
|
||||
if (fileInfo.post_id) {
|
||||
if (!isTablet) {
|
||||
dismissBottomSheet();
|
||||
}
|
||||
showPermalink(serverUrl, '', fileInfo.post_id);
|
||||
setAction('opening');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue