Quellcode durchsuchen

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

Pen Li vor 7 Jahren
Ursprung
Commit
d96eda3539
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  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) {