Improve narrow composer usability
This commit is contained in:
parent
bbf66a0011
commit
aa53444267
3 changed files with 7 additions and 4 deletions
|
@ -30,7 +30,6 @@ import SettingsStore from "../../../settings/SettingsStore";
|
|||
import {
|
||||
aboveLeftOf,
|
||||
ContextMenu,
|
||||
ContextMenuTooltipButton,
|
||||
useContextMenu,
|
||||
MenuItem,
|
||||
} from "../../structures/ContextMenu";
|
||||
|
@ -113,7 +112,7 @@ const EmojiButton: React.FC<IEmojiButtonProps> = ({ addEmoji, menuPosition, narr
|
|||
className={className}
|
||||
onClick={openMenu}
|
||||
title={!narrowMode && _t('Emoji picker')}
|
||||
label={narrowMode && _t("Send an emoji")}
|
||||
label={narrowMode && _t("Add emoji")}
|
||||
/>
|
||||
|
||||
{ contextMenu }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue