Skip to content

Commit 850b325

Browse files
author
Jickson P
committed
One line width
1 parent 9995981 commit 850b325

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Application.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,7 @@ class Application extends Component {
113113
render() {
114114
const { drawer, navigator } = this.state;
115115
const navView = React.createElement(Navigation);
116-
var {height, width} = Dimensions.get('window');
117-
const drawerWidth = Math.floor(width * 0.85);
116+
const drawerWidth = Math.floor(Dimensions.get('window').width * 0.85);
118117
return (
119118
<DrawerLayoutAndroid
120119
drawerWidth={drawerWidth}

0 commit comments

Comments
 (0)