ganzf hace 6 meses
padre
commit
d9cf878dea
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      ABtong/ABtong/ALLController/call/CallIndexCell.m

+ 1 - 1
ABtong/ABtong/ALLController/call/CallIndexCell.m

@@ -208,7 +208,7 @@
     }
     NSString *result =data[@"result"];
     NSString *duration = data[@"duration"];
-    if(result.intValue == 1){
+    if(result.boolValue){
         self.name.textColor = [UIColor whiteColor];
     }
     else{