mirror of https://github.com/vector-im/riot-web
Hide voice recording button in narrow mode
parent
4e0f52118d
commit
a1f6708a56
|
@ -424,7 +424,7 @@ export default class MessageComposer extends React.Component<IProps, IState> {
|
|||
title={this.state.showStickers ? _t("Hide Stickers") : _t("Show Stickers")}
|
||||
/>);
|
||||
}
|
||||
if (!this.state.haveRecording) {
|
||||
if (!this.state.haveRecording && !this.state.narrowMode) {
|
||||
buttons.push(
|
||||
<AccessibleTooltipButton
|
||||
className="mx_MessageComposer_button mx_MessageComposer_voiceMessage"
|
||||
|
|
Loading…
Reference in New Issue