Daniel Zlotin 8 years ago
parent
commit
5d4cd40237

+ 3
- 0
android/app/src/main/java/com/reactnativenavigation/views/SideMenu.java View File

117
     }
117
     }
118
 
118
 
119
     private void setStyle(SideMenuParams params) {
119
     private void setStyle(SideMenuParams params) {
120
+        if (params == null) {
121
+            return;
122
+        }
120
         if (params.disableOpenGesture) {
123
         if (params.disableOpenGesture) {
121
             setDrawerLockMode(DrawerLayout.LOCK_MODE_LOCKED_CLOSED, params.side.gravity);
124
             setDrawerLockMode(DrawerLayout.LOCK_MODE_LOCKED_CLOSED, params.side.gravity);
122
         }
125
         }