Skip to content
Snippets Groups Projects
Unverified Commit 1b17bb1e authored by Tiago Evangelista Pinto's avatar Tiago Evangelista Pinto Committed by GitHub
Browse files

fix: Send attachments through iOS browser (#34846)

parent 44605032
No related branches found
No related tags found
No related merge requests found
---
"@rocket.chat/meteor": patch
---
Fixes the send attachments option not working on iOS browsers by moving it from the composer dropdown menu to the composer primary actions.
......@@ -81,8 +81,8 @@ const MessageBoxActionsToolbar = ({
createNew.push(allActions.createDiscussionAction);
if (variant === 'small') {
featured.push(allActions.audioMessageAction);
createNew.push(allActions.videoMessageAction, allActions.fileUploadAction);
featured.push(allActions.audioMessageAction, allActions.fileUploadAction);
createNew.push(allActions.videoMessageAction);
} else {
featured.push(allActions.audioMessageAction, allActions.videoMessageAction, allActions.fileUploadAction);
}
......
......@@ -32,7 +32,7 @@ test.describe.serial('message-composer', () => {
await page.setViewportSize({ width: 768, height: 600 });
await poHomeChannel.sidenav.openChat(targetChannel);
await expect(poHomeChannel.composerToolbarActions).toHaveCount(5);
await expect(poHomeChannel.composerToolbarActions).toHaveCount(6);
});
test('should navigate on toolbar using arrow keys', async ({ page }) => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment