forked from Ivasoft/mattermost-mobile
[MM-48282] When user selects open in channel, dismiss the bottom sheet (#6956)
This commit is contained in:
@@ -42,6 +42,9 @@ const OptionMenus = ({
|
||||
|
||||
const handlePermalink = useCallback(() => {
|
||||
if (fileInfo.post_id) {
|
||||
if (!isTablet) {
|
||||
dismissBottomSheet();
|
||||
}
|
||||
showPermalink(serverUrl, '', fileInfo.post_id);
|
||||
setAction('opening');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user