Clicky newsky androidy (#4627)

* Clicky newsky androidy

* tweak

---------

Co-authored-by: Hailey <me@haileyok.com>
zio/stable
Eric Bailey 2024-06-24 18:55:29 -05:00 committed by GitHub
parent dc9e51dca1
commit 795fe7455b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ import {Trans} from '@lingui/macro'
import {Shadow} from '#/state/cache/types' import {Shadow} from '#/state/cache/types'
import {isInvalidHandle} from 'lib/strings/handles' import {isInvalidHandle} from 'lib/strings/handles'
import {isAndroid} from 'platform/detection' import {isIOS} from 'platform/detection'
import {atoms as a, useTheme, web} from '#/alf' import {atoms as a, useTheme, web} from '#/alf'
import {NewskieDialog} from '#/components/NewskieDialog' import {NewskieDialog} from '#/components/NewskieDialog'
import {Text} from '#/components/Typography' import {Text} from '#/components/Typography'
@ -23,7 +23,7 @@ export function ProfileHeaderHandle({
return ( return (
<View <View
style={[a.flex_row, a.gap_xs, a.align_center]} style={[a.flex_row, a.gap_xs, a.align_center]}
pointerEvents={disableTaps ? 'none' : isAndroid ? 'box-only' : 'auto'}> pointerEvents={disableTaps ? 'none' : isIOS ? 'auto' : 'box-none'}>
<NewskieDialog profile={profile} disabled={disableTaps} /> <NewskieDialog profile={profile} disabled={disableTaps} />
{profile.viewer?.followedBy && !blockHide ? ( {profile.viewer?.followedBy && !blockHide ? (
<View style={[t.atoms.bg_contrast_25, a.rounded_xs, a.px_sm, a.py_xs]}> <View style={[t.atoms.bg_contrast_25, a.rounded_xs, a.px_sm, a.py_xs]}>