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 9995981 commit 850b325Copy full SHA for 850b325
src/Application.js
@@ -113,8 +113,7 @@ class Application extends Component {
113
render() {
114
const { drawer, navigator } = this.state;
115
const navView = React.createElement(Navigation);
116
- var {height, width} = Dimensions.get('window');
117
- const drawerWidth = Math.floor(width * 0.85);
+ const drawerWidth = Math.floor(Dimensions.get('window').width * 0.85);
118
return (
119
<DrawerLayoutAndroid
120
drawerWidth={drawerWidth}
0 commit comments