tweak styles of composer prompt (#9524)
This commit is contained in:
@@ -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 && (
|
||||||
|
|||||||
Reference in New Issue
Block a user