From a1f6708a566bda86b3c0b3a7f7c3a95e6a80a6a8 Mon Sep 17 00:00:00 2001 From: Germain Souquet Date: Fri, 27 Aug 2021 11:12:25 +0100 Subject: [PATCH] Hide voice recording button in narrow mode --- src/components/views/rooms/MessageComposer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/rooms/MessageComposer.tsx b/src/components/views/rooms/MessageComposer.tsx index 70b3d8904c..5a1831068f 100644 --- a/src/components/views/rooms/MessageComposer.tsx +++ b/src/components/views/rooms/MessageComposer.tsx @@ -424,7 +424,7 @@ export default class MessageComposer extends React.Component { title={this.state.showStickers ? _t("Hide Stickers") : _t("Show Stickers")} />); } - if (!this.state.haveRecording) { + if (!this.state.haveRecording && !this.state.narrowMode) { buttons.push(