Skip to content

Commit 21d5778

Browse files
committed
fix(mobile): improve avatar button touch responsiveness
1 parent 7bae1e8 commit 21d5778

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

  • apps/mobile/v1/src/screens/FolderNotes

apps/mobile/v1/src/screens/FolderNotes/index.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -351,9 +351,11 @@ export default function FolderNotesScreen({ folderId, folderName, viewType }: Fo
351351
<TouchableOpacity
352352
style={[styles.iconButton, { backgroundColor: theme.colors.muted }]}
353353
onPress={() => router.push('/settings')}
354-
hitSlop={{ top: 8, bottom: 8, left: 8, right: 8 }}
354+
hitSlop={{ top: 12, bottom: 12, left: 12, right: 12 }}
355355
>
356-
<UserRound size={20} color={theme.colors.mutedForeground} />
356+
<View pointerEvents="none">
357+
<UserRound size={20} color={theme.colors.mutedForeground} />
358+
</View>
357359
</TouchableOpacity>
358360
</View>
359361
</View>

0 commit comments

Comments
 (0)