Make post composer prompt look less like a search field

This commit is contained in:
Alex Benzer
2025-12-05 11:54:15 -08:00
parent ad60be6c31
commit 4c0fd25f78
2 changed files with 44 additions and 50 deletions
-1
View File
@@ -203,7 +203,6 @@ export type MetricEvents = {
'composer:gif:open': {} 'composer:gif:open': {}
'composer:gif:select': {} 'composer:gif:select': {}
'postComposer:click': {}
'composerPrompt:press': {} 'composerPrompt:press': {}
'composerPrompt:camera:press': {} 'composerPrompt:camera:press': {}
'composerPrompt:gallery:press': {} 'composerPrompt:gallery:press': {}
+2 -7
View File
@@ -171,16 +171,13 @@ export function ComposerPrompt() {
size={40} size={40}
type={profile.associated?.labeler ? 'labeler' : 'user'} type={profile.associated?.labeler ? 'labeler' : 'user'}
/> />
<View style={[a.flex_1, a.ml_md, a.flex_row, a.align_center, a.gap_xs]}>
<View <View
style={[ style={[
a.flex_1, a.flex_1,
a.ml_md,
a.flex_row, a.flex_row,
a.align_center, a.align_center,
a.justify_between, a.justify_between,
a.px_md,
a.rounded_full,
t.atoms.bg_contrast_50,
{ {
height: 40, height: 40,
}, },
@@ -189,14 +186,13 @@ export function ComposerPrompt() {
style={[ style={[
t.atoms.text_contrast_low, t.atoms.text_contrast_low,
a.text_md, a.text_md,
a.pl_xs,
{ {
includeFontPadding: false, includeFontPadding: false,
}, },
]}> ]}>
{_(msg`What's up?`)} {_(msg`What's up?`)}
</Text> </Text>
<View style={[a.flex_row, a.gap_md, a.mr_xs]}> <View style={[a.flex_row, a.gap_md]}>
{isNative && ( {isNative && (
<Button <Button
onPress={e => { onPress={e => {
@@ -241,7 +237,6 @@ export function ComposerPrompt() {
</Button> </Button>
</View> </View>
</View> </View>
</View>
</Pressable> </Pressable>
) )
} }