From ffb67397e7106dce1e05fe86af0d8db12a1991f3 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Mon, 24 Jun 2024 17:34:12 -0500 Subject: [PATCH] Newskie dialog tweaks (#4623) --- src/components/NewskieDialog.tsx | 55 ++++++++++++++++++++------------ 1 file changed, 34 insertions(+), 21 deletions(-) diff --git a/src/components/NewskieDialog.tsx b/src/components/NewskieDialog.tsx index 6743a592..d456bd6d 100644 --- a/src/components/NewskieDialog.tsx +++ b/src/components/NewskieDialog.tsx @@ -6,10 +6,10 @@ import {useLingui} from '@lingui/react' import {differenceInSeconds} from 'date-fns' import {useGetTimeAgo} from '#/lib/hooks/useTimeAgo' +import {isNative} from '#/platform/detection' import {useModerationOpts} from '#/state/preferences/moderation-opts' import {HITSLOP_10} from 'lib/constants' import {sanitizeDisplayName} from 'lib/strings/display-names' -import {isWeb} from 'platform/detection' import {atoms as a, useTheme} from '#/alf' import {Button, ButtonText} from '#/components/Button' import * as Dialog from '#/components/Dialog' @@ -70,19 +70,27 @@ export function NewskieDialog({ - + - - + + + + Say hello! - + {profile.joinedViaStarterPack ? ( {profileName} joined Bluesky using a starter pack{' '} @@ -116,18 +124,23 @@ export function NewskieDialog({ ) : null} - + + {isNative && ( + + )} + +