Hide voice recording button in narrow mode
This commit is contained in:
parent
4e0f52118d
commit
a1f6708a56
1 changed files with 1 additions and 1 deletions
|
@ -424,7 +424,7 @@ export default class MessageComposer extends React.Component<IProps, IState> {
|
||||||
title={this.state.showStickers ? _t("Hide Stickers") : _t("Show Stickers")}
|
title={this.state.showStickers ? _t("Hide Stickers") : _t("Show Stickers")}
|
||||||
/>);
|
/>);
|
||||||
}
|
}
|
||||||
if (!this.state.haveRecording) {
|
if (!this.state.haveRecording && !this.state.narrowMode) {
|
||||||
buttons.push(
|
buttons.push(
|
||||||
<AccessibleTooltipButton
|
<AccessibleTooltipButton
|
||||||
className="mx_MessageComposer_button mx_MessageComposer_voiceMessage"
|
className="mx_MessageComposer_button mx_MessageComposer_voiceMessage"
|
||||||
|
|
Loading…
Reference in a new issue