|
@@ -9,6 +9,7 @@
|
9
|
9
|
@property (nonatomic, strong) NSString* componentName;
|
10
|
10
|
@property (nonatomic) BOOL _statusBarHidden;
|
11
|
11
|
@property (nonatomic) BOOL isExternalComponent;
|
|
12
|
+@property (nonatomic) BOOL _optionsApplied;
|
12
|
13
|
@end
|
13
|
14
|
|
14
|
15
|
@implementation RNNRootViewController
|
|
@@ -43,7 +44,10 @@
|
43
|
44
|
|
44
|
45
|
-(void)viewWillAppear:(BOOL)animated{
|
45
|
46
|
[super viewWillAppear:animated];
|
46
|
|
- [self.options applyOn:self];
|
|
47
|
+ if (!self._optionsApplied) {
|
|
48
|
+ [self.options applyOn:self];
|
|
49
|
+ }
|
|
50
|
+ self._optionsApplied = true;
|
47
|
51
|
}
|
48
|
52
|
|
49
|
53
|
-(void)viewDidAppear:(BOOL)animated {
|