Toggle navigation
Toggle navigation
This project
Loading...
Sign in
open-source
/
warply_sdk_framework
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
Manos Chorianopoulos
2022-09-14 15:11:10 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a67b766baf2174a705726e78a8dff5ba92c76a2d
a67b766b
1 parent
d578c000
remove controller parameter from getPacingDetails
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
View file @
a67b766
...
...
@@ -4210,7 +4210,7 @@ public class swiftApi {
}
public
func
getPacingDetailsAsync
(
_
controller
:
UIViewController
,
_
getPacingDetailsCallback
:
@escaping
(
_
pacingData
:
PacingDetails
?)
->
Void
)
->
Void
{
public
func
getPacingDetailsAsync
(
_
getPacingDetailsCallback
:
@escaping
(
_
pacingData
:
PacingDetails
?)
->
Void
)
->
Void
{
let
instanceOfMyApi
=
MyApi
()
instanceOfMyApi
.
getPacingDetailsAsync
(
pacingCallback
,
failureBlock
:
pacingFailureCallback
)
...
...
@@ -4225,9 +4225,9 @@ public class swiftApi {
let
tempPacingDetails
=
PacingDetails
(
dictionary
:
pacingDataResult
)
// if (tempPacingDetails._meters._month._value >= tempPacingDetails._meters._month._goal) {
if
(
tempPacingDetails
.
_goal_reached
==
true
)
{
self
.
pacingGoalDialog
(
controller
,
tempPacingDetails
.
_msg
)
}
//
if (tempPacingDetails._goal_reached == true) {
//
self.pacingGoalDialog(controller, tempPacingDetails._msg)
//
}
getPacingDetailsCallback
(
tempPacingDetails
);
}
...
...
Please
register
or
login
to post a comment