💄 Show send icon by default on textboxes

Closes #1418
This commit is contained in:
Baptiste Arnaud
2024-04-24 16:56:33 +02:00
parent dc1929e15b
commit 873ba0bfda
10 changed files with 15 additions and 15 deletions

View File

@@ -16,6 +16,7 @@ export const SendButton = (props: SendButtonProps) => {
return (
<Button type="submit" {...others}>
{(isMobile() && !local.disableIcon) ||
!props.children ||
(typeof props.children === 'string' && isEmpty(props.children)) ? (
<SendIcon
class={'send-icon flex ' + (local.disableIcon ? 'hidden' : '')}