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