Use Text component and center-align encouragement message
- Switch from ButtonText to Text component for better styling - Add text-center alignment to the message Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -11,6 +11,7 @@ import * as Dialog from '#/components/Dialog'
|
||||
import {PageX_Stroke2_Corner0_Rounded_Large as PageXIcon} from '#/components/icons/PageX'
|
||||
import {ListFooter} from '#/components/Lists'
|
||||
import {Loader} from '#/components/Loader'
|
||||
import {Text} from '#/components/Typography'
|
||||
import {useAnalytics} from '#/analytics'
|
||||
import {IS_NATIVE} from '#/env'
|
||||
import {DraftItem} from './DraftItem'
|
||||
@@ -143,9 +144,9 @@ export function DraftsListDialog({
|
||||
<>
|
||||
{drafts.length > 5 && (
|
||||
<View style={[a.align_center, a.py_2xl]}>
|
||||
<ButtonText style={[t.atoms.text_contrast_medium]}>
|
||||
<Text style={[a.text_center, t.atoms.text_contrast_medium]}>
|
||||
<Trans>So many thoughts, you should post one</Trans>
|
||||
</ButtonText>
|
||||
</Text>
|
||||
</View>
|
||||
)}
|
||||
<ListFooter
|
||||
|
||||
Reference in New Issue
Block a user