Showing
1 changed file
with
4 additions
and
4 deletions
... | @@ -4210,7 +4210,7 @@ public class swiftApi { | ... | @@ -4210,7 +4210,7 @@ public class swiftApi { |
4210 | } | 4210 | } |
4211 | 4211 | ||
4212 | 4212 | ||
4213 | - public func getPacingDetailsAsync(_ controller: UIViewController, _ getPacingDetailsCallback: @escaping (_ pacingData: PacingDetails?) -> Void) -> Void { | 4213 | + public func getPacingDetailsAsync(_ getPacingDetailsCallback: @escaping (_ pacingData: PacingDetails?) -> Void) -> Void { |
4214 | 4214 | ||
4215 | let instanceOfMyApi = MyApi() | 4215 | let instanceOfMyApi = MyApi() |
4216 | instanceOfMyApi.getPacingDetailsAsync(pacingCallback, failureBlock: pacingFailureCallback) | 4216 | instanceOfMyApi.getPacingDetailsAsync(pacingCallback, failureBlock: pacingFailureCallback) |
... | @@ -4225,9 +4225,9 @@ public class swiftApi { | ... | @@ -4225,9 +4225,9 @@ public class swiftApi { |
4225 | let tempPacingDetails = PacingDetails(dictionary: pacingDataResult) | 4225 | let tempPacingDetails = PacingDetails(dictionary: pacingDataResult) |
4226 | 4226 | ||
4227 | // if (tempPacingDetails._meters._month._value >= tempPacingDetails._meters._month._goal) { | 4227 | // if (tempPacingDetails._meters._month._value >= tempPacingDetails._meters._month._goal) { |
4228 | - if (tempPacingDetails._goal_reached == true) { | 4228 | + // if (tempPacingDetails._goal_reached == true) { |
4229 | - self.pacingGoalDialog(controller, tempPacingDetails._msg) | 4229 | + // self.pacingGoalDialog(controller, tempPacingDetails._msg) |
4230 | - } | 4230 | + // } |
4231 | 4231 | ||
4232 | getPacingDetailsCallback(tempPacingDetails); | 4232 | getPacingDetailsCallback(tempPacingDetails); |
4233 | } | 4233 | } | ... | ... |
-
Please register or login to post a comment