mirror of
https://github.com/laurent22/joplin.git
synced 2026-06-18 20:16:34 +02:00
Mobile: Accessibility: Mark note properties buttons as buttons (#11432)
This commit is contained in:
@@ -91,7 +91,11 @@ const SideMenuContentNoteComponent: React.FC<Props> = props => {
|
|||||||
if (!onPressHandler) return content;
|
if (!onPressHandler) return content;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<TouchableOpacity key={key} onPress={onPressHandler}>
|
<TouchableOpacity
|
||||||
|
key={key}
|
||||||
|
onPress={onPressHandler}
|
||||||
|
accessibilityRole='button'
|
||||||
|
>
|
||||||
{content}
|
{content}
|
||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user