Update HeaderBackButton.js

This commit is contained in:
Nikita Kolmogorov 2018-09-14 14:35:01 -07:00 committed by GitHub
parent 3532fdf21c
commit 32565c873b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -93,7 +93,7 @@ class HeaderBackButton extends React.PureComponent {
return ( return (
<Text <Text
accessible={true} accessible={false}
onLayout={this._onTextLayout} onLayout={this._onTextLayout}
style={[styles.title, !!tintColor && { color: tintColor }, titleStyle]} style={[styles.title, !!tintColor && { color: tintColor }, titleStyle]}
numberOfLines={1} numberOfLines={1}
@ -108,7 +108,7 @@ class HeaderBackButton extends React.PureComponent {
let button = ( let button = (
<TouchableItem <TouchableItem
accessible={false} accessible={true}
accessibilityComponentType="button" accessibilityComponentType="button"
accessibilityLabel={title} accessibilityLabel={title}
accessibilityTraits="button" accessibilityTraits="button"