From 92502eb9484cd4b3edb056d810ce27e54616ef4b Mon Sep 17 00:00:00 2001 From: Hailey Date: Wed, 12 Jun 2024 20:06:02 -0700 Subject: [PATCH] fix newskie seconds ago for no sp --- src/components/StarterPack/NewskieDialog.tsx | 4 ++-- src/screens/StarterPack/StarterPackScreen.tsx | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/components/StarterPack/NewskieDialog.tsx b/src/components/StarterPack/NewskieDialog.tsx index a8b873af72..7466386c2e 100644 --- a/src/components/StarterPack/NewskieDialog.tsx +++ b/src/components/StarterPack/NewskieDialog.tsx @@ -63,8 +63,8 @@ export function NewskieDialog({ ) : ( - {profileName} recently joined Bluesky {ago(profile.createdAt)}{' '} - ago + {profileName}{' '} + recently joined Bluesky {ago(profile.createdAt, true)} ago )} diff --git a/src/screens/StarterPack/StarterPackScreen.tsx b/src/screens/StarterPack/StarterPackScreen.tsx index 3f4e264992..0e954e7c04 100644 --- a/src/screens/StarterPack/StarterPackScreen.tsx +++ b/src/screens/StarterPack/StarterPackScreen.tsx @@ -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, },