Manos Chorianopoulos

fix CampaignViewController

......@@ -171,11 +171,11 @@ var timer2: DispatchSourceTimer?
let metersParam = swiftApi().getMetersWebview()
let scriptSource = "passMeters(\(metersParam));"
self?.webview.evaluateJavaScript(scriptSource, completionHandler: { (object, error) in
// print("==== object passMeters ====")
// print(object)
// print("==== error passMeters ====")
// print(error)
self?.webView.evaluateJavaScript(scriptSource, completionHandler: { (object, error) in
// print("==== object passMeters ====")
// print(object)
// print("==== error passMeters ====")
// print(error)
swiftApi().setSavedStepsWebview(swiftApi().getSavedStepsWebview() + swiftApi().getStepsWebview())
swiftApi().setStepsWebview(0)
......@@ -355,9 +355,9 @@ var timer2: DispatchSourceTimer?
let scriptSource = "passParams(\(params));"
webView.evaluateJavaScript(scriptSource, completionHandler: { (object, error) in
// print("==== object ====")
// print("==== object passParams ====")
// print(object)
// print("==== error ====")
// print("==== error passParams ====")
// print(error)
DispatchQueue.main.asyncAfter(deadline: .now() + 3.0) {
......