forked from abner/for-legacy-web
feat: Add option to show Send button on Desktop (#628)
This commit is contained in:
@@ -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} />
|
||||
|
||||
Reference in New Issue
Block a user