Skip to content

Commit e1333cc

Browse files
committed
fix: pass accessibilityLabel to skip rerenders
1 parent d2df096 commit e1333cc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/components/MenuItem/presets/MenuItemEntity.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ function MenuItemEntity({title, description, accountID, avatarSource, onPress, i
5151
isDisabled={isDisabled}
5252
sentryLabel={sentryLabel}
5353
testID={testID}
54+
accessibilityLabel={[title, description].filter(Boolean).join(', ')}
5455
>
5556
<MenuItemRow>
5657
<MenuItemLeading>

0 commit comments

Comments
 (0)