Procházet zdrojové kódy

Ensure correct spelling of commandType (#2246)

Eli Perkins před 7 roky
rodič
revize
d17d26b7d7
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      ios/RCCNavigationController.m

+ 1
- 1
ios/RCCNavigationController.m Zobrazit soubor

259
     if (!component) return;
259
     if (!component) return;
260
     
260
     
261
     NSMutableDictionary *passProps = [actionParams[@"passProps"] mutableCopy];
261
     NSMutableDictionary *passProps = [actionParams[@"passProps"] mutableCopy];
262
-    passProps[@"commantType"] = @"resetTo";
262
+    passProps[@"commandType"] = @"resetTo";
263
     NSDictionary *navigatorStyle = actionParams[@"style"];
263
     NSDictionary *navigatorStyle = actionParams[@"style"];
264
     
264
     
265
     RCCViewController *viewController = [[RCCViewController alloc] initWithComponent:component passProps:passProps navigatorStyle:navigatorStyle globalProps:nil bridge:bridge];
265
     RCCViewController *viewController = [[RCCViewController alloc] initWithComponent:component passProps:passProps navigatorStyle:navigatorStyle globalProps:nil bridge:bridge];