feat: Add option to show Send button on Desktop (#628)

This commit is contained in:
Jan
2022-05-23 22:19:55 +02:00
committed by GitHub
parent e46a6d55d6
commit 6fdd701b38
4 changed files with 30 additions and 1 deletions

View File

@@ -637,7 +637,11 @@ export default observer(({ channel }: Props) => {
</Action>*/}
<Action>
<IconButton
className="mobile"
className={
state.settings.get("appearance:show_send_button")
? ""
: "mobile"
}
onClick={send}
onMouseDown={(e) => e.preventDefault()}>
<Send size={20} />