tweak styles of composer prompt (#9524)

This commit is contained in:
Samuel Newman
2025-12-29 20:19:08 +02:00
committed by GitHub
parent caa02db87b
commit aa1395542f
+5 -7
View File
@@ -1,6 +1,6 @@
import {useCallback, useState} from 'react' import {useCallback, useState} from 'react'
import {Keyboard, Pressable, View} from 'react-native' import {Keyboard, Pressable, View} from 'react-native'
import {msg} from '@lingui/macro' import {msg, Trans} from '@lingui/macro'
import {useLingui} from '@lingui/react' import {useLingui} from '@lingui/react'
import {useOpenComposer} from '#/lib/hooks/useOpenComposer' import {useOpenComposer} from '#/lib/hooks/useOpenComposer'
@@ -168,7 +168,7 @@ export function ComposerPrompt() {
<SubtleHover hover={hover} /> <SubtleHover hover={hover} />
<UserAvatar <UserAvatar
avatar={profile.avatar} avatar={profile.avatar}
size={40} size={42}
type={profile.associated?.labeler ? 'labeler' : 'user'} type={profile.associated?.labeler ? 'labeler' : 'user'}
/> />
<View <View
@@ -184,13 +184,11 @@ export function ComposerPrompt() {
]}> ]}>
<Text <Text
style={[ style={[
t.atoms.text_contrast_low, t.atoms.text_contrast_medium,
a.text_md, a.text_md,
{ {includeFontPadding: false},
includeFontPadding: false,
},
]}> ]}>
{_(msg`What's up?`)} <Trans>What's up?</Trans>
</Text> </Text>
<View style={[a.flex_row, a.gap_md]}> <View style={[a.flex_row, a.gap_md]}>
{isNative && ( {isNative && (