Add hitslop to switch account ... menu (#11262)

This commit is contained in:
Samuel Newman
2026-07-24 15:44:45 +03:00
committed by GitHub
parent 7bd27e4180
commit fbb0ee38c2
2 changed files with 5 additions and 1 deletions
+3
View File
@@ -134,3 +134,6 @@ bskyweb/static/media/*.svg
# superpowers plugin plans/specs — local-only workspace
docs/superpowers/
.claude/worktrees
# pnpm
.pnpm-store/
+2 -1
View File
@@ -6,7 +6,7 @@ import {Trans, useLingui} from '@lingui/react/macro'
import {useNavigation} from '@react-navigation/native'
import {type NativeStackScreenProps} from '@react-navigation/native-stack'
import {HELP_DESK_URL} from '#/lib/constants'
import {HELP_DESK_URL, HITSLOP_10} from '#/lib/constants'
import {useAccountSwitcher} from '#/lib/hooks/useAccountSwitcher'
import {useApplyPullRequestOTAUpdate} from '#/lib/hooks/useOTAUpdates'
import {
@@ -647,6 +647,7 @@ function AccountRow({
{({props, state}) => (
<Pressable
{...props}
hitSlop={HITSLOP_10}
style={[
a.absolute,
{top: 10, right: tokens.space.lg},