pull/21833/head
Travis Ralston 2021-10-18 15:40:06 -06:00
parent dad1d3f131
commit 7babdd9c9d
1 changed files with 2 additions and 2 deletions

View File

@ -116,7 +116,7 @@ const EmojiButton: React.FC<IEmojiButtonProps> = ({ addEmoji, menuPosition, narr
className={className}
onClick={openMenu}
title={!narrowMode && _t('Emoji picker')}
label={(narrowMode && _t("Add emoji")) || null}
label={narrowMode ? _t("Add emoji") : null}
/>
{ contextMenu }
@ -485,7 +485,7 @@ export default class MessageComposer extends React.Component<IProps, IState> {
className="mx_MessageComposer_button mx_MessageComposer_stickers"
onClick={() => this.showStickers(!this.state.showStickers)}
title={title}
label={(this.state.narrowMode && _t("Send a sticker")) || null}
label={this.state.narrowMode ? _t("Send a sticker") : null}
/>,
);
}