Fix accessibilityrole error

This commit is contained in:
Oleksii Bulenok
2026-08-20 16:59:35 +02:00
parent 631d04d63e
commit 0b8ce01197
+1 -1
View File
@@ -146,7 +146,7 @@ export function ComposerPrompt() {
<Pressable
onPress={onPress}
android_ripple={null}
accessibilityRole="button"
accessibilityRole={IS_NATIVE ? 'button' : undefined} // In HTML, <button> cannot be a descendant of <button>.
accessibilityLabel={_(msg`Compose new post`)}
accessibilityHint={_(msg`Opens the post composer`)}
onPointerEnter={() => setHover(true)}