Browse Source

Add ModalDismissed to supportedEvents on iOS

Guy Carmeli 6 years ago
parent
commit
3a327c62cb
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      lib/ios/RNNEventEmitter.m

+ 2
- 0
lib/ios/RNNEventEmitter.m View File

@@ -14,6 +14,7 @@ static NSString* const BottomTabSelected		= @"RNN.BottomTabSelected";
14 14
 static NSString* const ComponentDidAppear		= @"RNN.ComponentDidAppear";
15 15
 static NSString* const ComponentDidDisappear	= @"RNN.ComponentDidDisappear";
16 16
 static NSString* const NavigationButtonPressed	= @"RNN.NavigationButtonPressed";
17
+static NSString* const ModalDismissed	        = @"RNN.ModalDismissed";
17 18
 static NSString* const SearchBarUpdated 		= @"RNN.SearchBarUpdated";
18 19
 static NSString* const SearchBarCancelPressed 	= @"RNN.SearchBarCancelPressed";
19 20
 
@@ -24,6 +25,7 @@ static NSString* const SearchBarCancelPressed 	= @"RNN.SearchBarCancelPressed";
24 25
 			 ComponentDidAppear,
25 26
 			 ComponentDidDisappear,
26 27
 			 NavigationButtonPressed,
28
+			 ModalDismissed,
27 29
 			 SearchBarUpdated,
28 30
 			 SearchBarCancelPressed];
29 31
 }