Browse Source

Revert "fixes #2982"

This reverts commit 594cd772cd.
yogevbd 6 years ago
parent
commit
e42708d16c
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      lib/ios/RNNRootViewController.m

+ 5
- 1
lib/ios/RNNRootViewController.m View File

@@ -41,6 +41,11 @@
41 41
 	return self;
42 42
 }
43 43
 
44
+-(void)viewWillAppear:(BOOL)animated{
45
+	[super viewWillAppear:animated];
46
+	[self.options applyOn:self];
47
+}
48
+
44 49
 -(void)viewDidAppear:(BOOL)animated {
45 50
 	[super viewDidAppear:animated];
46 51
 	[self.eventEmitter sendComponentDidAppear:self.componentId componentName:self.componentName];
@@ -57,7 +62,6 @@
57 62
 
58 63
 - (void)viewDidLoad {
59 64
 	[super viewDidLoad];
60
-	[self.options applyOn:self];
61 65
 }
62 66
 
63 67
 - (void)optionsUpdated {