[Clipclops] Replace 🐴 with real icon (#3802)

* replace 🐴 with paper plane icon

* replace envelope with plus
This commit is contained in:
Samuel Newman 2024-05-01 21:49:10 +01:00 committed by GitHub
parent fc0eab2d03
commit e2556d9f40
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 19 additions and 8 deletions

View file

@ -13,7 +13,7 @@ import {msg} from '@lingui/macro'
import {useLingui} from '@lingui/react'
import {atoms as a, useTheme} from '#/alf'
import {Text} from '#/components/Typography'
import {PaperPlane_Stroke2_Corner0_Rounded as PaperPlane} from '#/components/icons/PaperPlane'
export function MessageInput({
onSendMessage,
@ -96,7 +96,7 @@ export function MessageInput({
{height: 30, width: 30, backgroundColor: t.palette.primary_500},
]}
onPress={onSubmit}>
<Text style={a.text_md}>🐴</Text>
<PaperPlane fill={t.palette.white} />
</Pressable>
</View>
)

View file

@ -5,7 +5,7 @@ import {useLingui} from '@lingui/react'
import TextareaAutosize from 'react-textarea-autosize'
import {atoms as a, useTheme} from '#/alf'
import {Text} from '#/components/Typography'
import {PaperPlane_Stroke2_Corner0_Rounded as PaperPlane} from '#/components/icons/PaperPlane'
export function MessageInput({
onSendMessage,
@ -84,7 +84,7 @@ export function MessageInput({
a.justify_center,
{height: 30, width: 30, backgroundColor: t.palette.primary_500},
]}>
<Text style={a.text_md}>🐴</Text>
<PaperPlane fill={t.palette.white} />
</Pressable>
</View>
)

View file

@ -23,7 +23,7 @@ import {atoms as a, useBreakpoints, useTheme} from '#/alf'
import {Button, ButtonIcon, ButtonText} from '#/components/Button'
import {DialogControlProps, useDialogControl} from '#/components/Dialog'
import {NewChat} from '#/components/dms/NewChat'
import {Envelope_Stroke2_Corner0_Rounded as Envelope} from '#/components/icons/Envelope'
import {PlusLarge_Stroke2_Corner0_Rounded as Plus} from '#/components/icons/Plus'
import {SettingsSliderVertical_Stroke2_Corner0_Rounded as SettingsSlider} from '#/components/icons/SettingsSlider'
import {Link} from '#/components/Link'
import {ListFooter, ListMaybePlaceholder} from '#/components/Lists'
@ -328,7 +328,7 @@ function DesktopHeader({
variant="solid"
style={[{height: 'auto', width: 'auto'}, a.px_md, a.py_sm]}
onPress={newChatControl.open}>
<ButtonIcon icon={Envelope} position="right" />
<ButtonIcon icon={Plus} position="right" />
<ButtonText>
<Trans>New chat</Trans>
</ButtonText>