Ver Fonte

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

Pen Li há 7 anos atrás
pai
commit
d96eda3539

+ 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) {