ソースを参照

fix ShowModal global screen events

Ran Greenberg 7 年 前
コミット
052231337c
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1
    1
      ios/RCCManagerModule.m

+ 1
- 1
ios/RCCManagerModule.m ファイルの表示

325
 {
325
 {
326
 
326
 
327
     NSMutableDictionary *modifiedGlobalProps = [globalProps mutableCopy];
327
     NSMutableDictionary *modifiedGlobalProps = [globalProps mutableCopy];
328
-    modifiedGlobalProps[@"props"][@"passProps"][GLOBAL_SCREEN_ACTION_COMMAND_TYPE] = COMMAND_TYPE_SHOW_MODAL;
328
+    modifiedGlobalProps[GLOBAL_SCREEN_ACTION_COMMAND_TYPE] = COMMAND_TYPE_SHOW_MODAL;
329
     
329
     
330
     UIViewController *controller = [RCCViewController controllerWithLayout:layout globalProps:modifiedGlobalProps bridge:[[RCCManager sharedInstance] getBridge]];
330
     UIViewController *controller = [RCCViewController controllerWithLayout:layout globalProps:modifiedGlobalProps bridge:[[RCCManager sharedInstance] getBridge]];
331
     if (controller == nil)
331
     if (controller == nil)