We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfcff2c commit b641923Copy full SHA for b641923
src/helpers/Constants.ts
@@ -61,7 +61,7 @@ function handleScreenReaderChanged(isScreenReaderEnabled: AccessibilityEvent) {
61
62
AccessibilityInfo.addEventListener('screenReaderChanged', handleScreenReaderChanged);
63
function setAccessibility() {
64
- AccessibilityInfo.fetch().then(isScreenReaderEnabled => {
+ AccessibilityInfo.isScreenReaderEnabled().then(isScreenReaderEnabled => {
65
accessibility.isScreenReaderEnabled = isScreenReaderEnabled;
66
});
67
}
0 commit comments