Explorar el Código

1.修改iOS Apex Driver订单提示Title。

Pen Li hace 7 años
padre
commit
d96eda3539
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      Redant Drivers/Apex And Drivers/RANavigationController.m

+ 2 - 2
Redant Drivers/Apex And Drivers/RANavigationController.m

@@ -117,7 +117,7 @@
         orderType2 = @"";
     }
 
-    BOOL go2Detail = [userInfo objectForKey:@"go2Detail"];
+    BOOL go2Detail = [[userInfo objectForKey:@"go2Detail"] boolValue];
     
 //    [RASingleton.sharedInstance writeLog:[NSString stringWithFormat:@"%s",__func__]];
     if (orderID) {
@@ -131,7 +131,7 @@
                 msg = [NSString stringWithFormat:@"%@ status changed,view detail?",orderID];
             }
             
-            UIAlertController *alertVC = [UIAlertController alertControllerWithTitle:@"Warning" message:msg preferredStyle:UIAlertControllerStyleAlert];
+            UIAlertController *alertVC = [UIAlertController alertControllerWithTitle:@"Message" message:msg preferredStyle:UIAlertControllerStyleAlert];
             
             UIAlertAction *cancelAction = [UIAlertAction actionWithTitle:@"Cancel" style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) {