浏览代码

Add ModalDismissed to supportedEvents on iOS

Guy Carmeli 6 年前
父节点
当前提交
3a327c62cb
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      lib/ios/RNNEventEmitter.m

+ 2
- 0
lib/ios/RNNEventEmitter.m 查看文件

@@ -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
 }