fix newskie seconds ago for no sp

This commit is contained in:
Hailey
2024-06-12 20:06:02 -07:00
parent fcb4ec153c
commit 92502eb948
2 changed files with 7 additions and 3 deletions
+2 -2
View File
@@ -63,8 +63,8 @@ export function NewskieDialog({
</Trans>
) : (
<Trans>
{profileName} recently joined Bluesky {ago(profile.createdAt)}{' '}
ago
<Text style={[a.font_bold, a.text_md]}>{profileName}</Text>{' '}
recently joined Bluesky {ago(profile.createdAt, true)} ago
</Trans>
)}
</Text>
@@ -159,7 +159,11 @@ function Header({
a.align_center,
a.justify_center,
a.rounded_sm,
{backgroundColor: t.palette.primary_500},
{
backgroundColor: isOwn
? t.palette.primary_500
: t.palette.contrast_25,
},
(state.hovered || state.pressed) && {
backgroundColor: t.palette.primary_600,
},