|
@@ -30,6 +30,14 @@
|
30
|
30
|
}
|
31
|
31
|
|
32
|
32
|
- (UIViewController *)popViewControllerAnimated:(BOOL)animated {
|
|
33
|
+ if (self.viewControllers.count > 1) {
|
|
34
|
+ UIViewController *controller = self.viewControllers[self.viewControllers.count - 2];
|
|
35
|
+ if ([controller isKindOfClass:[RNNRootViewController class]]) {
|
|
36
|
+ RNNRootViewController *rnnController = (RNNRootViewController *)controller;
|
|
37
|
+ [rnnController.options applyOn:rnnController];
|
|
38
|
+ }
|
|
39
|
+ }
|
|
40
|
+
|
33
|
41
|
return [super popViewControllerAnimated:animated];
|
34
|
42
|
}
|
35
|
43
|
|