diff --git a/Libraries/ReactIOS/renderApplication.android.js b/Libraries/ReactIOS/renderApplication.android.js
index 1abfeb8b3..05b87178b 100644
--- a/Libraries/ReactIOS/renderApplication.android.js
+++ b/Libraries/ReactIOS/renderApplication.android.js
@@ -73,8 +73,8 @@ var AppContainer = React.createClass({
return;
}
- this.refs.accessibilityWrapper.setNativeProps({
- importantForAccessibility: modalVisible ? 'no-hide-descendants' : 'auto',
+ this.setState({
+ rootImportanceForAccessibility: modalVisible ? 'no-hide-descendants' : 'auto',
});
},
@@ -85,14 +85,10 @@ var AppContainer = React.createClass({
ref="main"
collapsable={!this.state.inspectorVisible}
style={styles.appContainer}>
-
-
-
+
;