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:
parent
3b2daf3842
commit
1a5c125489
@ -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>
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user