diff options
author | Eric Bailey <git@esb.lol> | 2024-06-18 12:59:50 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-18 12:59:50 -0500 |
commit | 11065174813a322e5a53097c0ea309fd8e613cc7 (patch) | |
tree | d3be1dcd982fa16f09ee6ada6a037cc4e3cb1a10 /src/screens/Profile/Header/Handle.tsx | |
parent | 73c9de3ce27a379b9d57550a8dcc13e251a4e60e (diff) | |
download | voidsky-11065174813a322e5a53097c0ea309fd8e613cc7.tar.zst |
Is it "newskie" or "newsky" 🤔 (#4557)
* add newskie icon (cherry picked from commit 152e074ee053e076bf644e368047e486a5ad127c) (cherry picked from commit 8d2326f115c9c9d32aa1c41259bb81936b3868aa) * add size prop (cherry picked from commit af09ae2d8f4fedf8a50993e94b76efc44a2ef4ea) (cherry picked from commit 38dd38451bcce8afcf302ad1180802640857722a) * add a dialog for newskies to profiles (cherry picked from commit fe16f55e9c5e8faef540b563662b0c0c9a1d2d77) (cherry picked from commit c5b9f1b16ace276f422832069db076a5360616fe) * move newskie to handle (cherry picked from commit 150f2635b278a92ed67dcec748333b428aacb670) (cherry picked from commit 1efaaf835380f4e76d2e4b7fe8b727a92731a794) * use "say hello" in newskie dialog (cherry picked from commit d9a286cfc823a9e697061de84dd317625741a862) (cherry picked from commit 018dd1739fee68906dec63e05519f5ca9ae73910) * tweaks (cherry picked from commit 070363c947600c48368b01c776ea34fbf422f81e) (cherry picked from commit c30855d4ff311e31fb6ae357a9d6cd1662b291d5) * Tweaks * Re-export newskie icon * Design tweaks * Tweaks * Add source icon * Remove unused file * Remove unneeded edits * Simplify logic * Update source * Moderate displayName, fix createdAt type --------- Co-authored-by: Hailey <me@haileyok.com>
Diffstat (limited to 'src/screens/Profile/Header/Handle.tsx')
-rw-r--r-- | src/screens/Profile/Header/Handle.tsx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/screens/Profile/Header/Handle.tsx b/src/screens/Profile/Header/Handle.tsx index 9ab24fbbe..4f438a286 100644 --- a/src/screens/Profile/Header/Handle.tsx +++ b/src/screens/Profile/Header/Handle.tsx @@ -5,7 +5,9 @@ import {Trans} from '@lingui/macro' import {Shadow} from '#/state/cache/types' import {isInvalidHandle} from 'lib/strings/handles' +import {isAndroid} from 'platform/detection' import {atoms as a, useTheme, web} from '#/alf' +import {NewskieDialog} from '#/components/NewskieDialog' import {Text} from '#/components/Typography' export function ProfileHeaderHandle({ @@ -17,7 +19,10 @@ export function ProfileHeaderHandle({ const invalidHandle = isInvalidHandle(profile.handle) const blockHide = profile.viewer?.blocking || profile.viewer?.blockedBy return ( - <View style={[a.flex_row, a.gap_xs, a.align_center]} pointerEvents="none"> + <View + style={[a.flex_row, a.gap_xs, a.align_center]} + pointerEvents={isAndroid ? 'box-only' : 'auto'}> + <NewskieDialog profile={profile} /> {profile.viewer?.followedBy && !blockHide ? ( <View style={[t.atoms.bg_contrast_25, a.rounded_xs, a.px_sm, a.py_xs]}> <Text style={[t.atoms.text, a.text_sm]}> |