|
@@ -2338,7 +2338,7 @@
|
|
|
[self.navigationController pushViewController:lockVC animated:YES];
|
|
[self.navigationController pushViewController:lockVC animated:YES];
|
|
|
|
|
|
|
|
|
|
|
|
|
- } else if ([title isEqualToString:@"Order List Lock"]) {
|
|
|
|
|
|
|
+ } else if ([title isEqualToString:@"Order List Lock"] || [title isEqualToString:@"Order List unLock"]) {
|
|
|
|
|
|
|
|
UIApplication * app = [UIApplication sharedApplication];
|
|
UIApplication * app = [UIApplication sharedApplication];
|
|
|
AppDelegate *appDelegate = (AppDelegate *)[app delegate];
|
|
AppDelegate *appDelegate = (AppDelegate *)[app delegate];
|
|
@@ -2352,8 +2352,8 @@
|
|
|
__strong typeof(weakself) strongself = weakself;
|
|
__strong typeof(weakself) strongself = weakself;
|
|
|
|
|
|
|
|
[Singleton sharedInstance].order_list_lock = ![Singleton sharedInstance].order_list_lock;
|
|
[Singleton sharedInstance].order_list_lock = ![Singleton sharedInstance].order_list_lock;
|
|
|
- [self initMenuItems];
|
|
|
|
|
- [self hideMenu];
|
|
|
|
|
|
|
+ [strongself initMenuItems];
|
|
|
|
|
+ [strongself hideMenu];
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|
|
|
[self.navigationController pushViewController:lockVC animated:YES];
|
|
[self.navigationController pushViewController:lockVC animated:YES];
|