Browse Source

Updated RNNSideMenuController.m (#2788)

on clicking the outside of the sideMenu area sideMenu not closing,
because there is a problem in the code which i modified now
Narayana 6 years ago
parent
commit
d23bacea31
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lib/ios/RNNSideMenuController.m

+ 1
- 1
lib/ios/RNNSideMenuController.m View File

@@ -30,7 +30,7 @@
30 30
 	self.sideMenu = [[MMDrawerController alloc] initWithCenterViewController:self.center leftDrawerViewController:self.left rightDrawerViewController:self.right];
31 31
 	
32 32
 	self.sideMenu.openDrawerGestureModeMask = MMOpenDrawerGestureModeAll;
33
-	self.sideMenu.closeDrawerGestureModeMask = MMOpenDrawerGestureModeAll;
33
+	self.sideMenu.closeDrawerGestureModeMask = MMCloseDrawerGestureModeAll;
34 34
 	
35 35
 	[self addChildViewController:self.sideMenu];
36 36
 	[self.sideMenu.view setFrame:self.view.bounds];