ganzf 5 månader sedan
förälder
incheckning
d9cf878dea
1 ändrade filer med 1 tillägg och 1 borttagningar
  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 *result =data[@"result"];
     NSString *duration = data[@"duration"];
     NSString *duration = data[@"duration"];
-    if(result.intValue == 1){
+    if(result.boolValue){
         self.name.textColor = [UIColor whiteColor];
         self.name.textColor = [UIColor whiteColor];
     }
     }
     else{
     else{