diff options
author | Kuwa Lee <kuwalee1069@gmail.com> | 2024-06-19 02:47:38 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-19 02:47:38 +0800 |
commit | a6d49062e6d50b7c9a6c0d50c38fcfeb8f63e46f (patch) | |
tree | 65ef4f28c174d1da9c8f7085635b05b754e95746 /src/screens/Profile/Header/Handle.tsx | |
parent | fad73fe9281baee8409a65a10923749ec24dfd68 (diff) | |
parent | 35e54e24a0b08ce0f2e3389aeb4fb0f29778170e (diff) | |
download | voidsky-a6d49062e6d50b7c9a6c0d50c38fcfeb8f63e46f.tar.zst |
Merge branch 'bluesky-social:main' into zh
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]}> |