1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00

iOS: Fix notebooks heading not recognised as a heading

This commit is contained in:
Henry Heino 2024-12-23 11:47:06 -08:00
parent 3b2daf3842
commit 1a5c125489

View File

@ -587,13 +587,12 @@ const SideMenuContentComponent = (props: Props) => {
} }
const content = ( const content = (
<View <View key={key} style={selected ? styles_.sideButtonSelected : styles_.sideButton}>
key={key}
style={selected ? styles_.sideButtonSelected : styles_.sideButton}
accessibilityRole={isHeader ? 'header' : undefined}
>
{icon} {icon}
<Text style={styles_.sideButtonText}>{title}</Text> <Text
style={styles_.sideButtonText}
accessibilityRole={isHeader ? 'header' : undefined}
>{title}</Text>
</View> </View>
); );