Manos Chorianopoulos

add buttonTitle key at PacingDetails

......@@ -4059,6 +4059,7 @@ public class swiftApi {
private var goal_reached: Bool
private var title: String
private var msg: String
private var buttonTitle: String
private var shortcut_enabled: Bool
......@@ -4069,6 +4070,7 @@ public class swiftApi {
self.goal_reached = false
self.title = ""
self.msg = ""
self.buttonTitle = ""
self.shortcut_enabled = false
}
......@@ -4082,6 +4084,7 @@ public class swiftApi {
self.goal_reached = (dictionary["goal_reached"] as? Bool ?? false)
self.title = (dictionary["title"] as? String ?? "")
self.msg = (dictionary["msg"] as? String ?? "")
self.buttonTitle = (dictionary["button"] as? String ?? "")
self.shortcut_enabled = (dictionary["shortcut_enabled"] as? Bool ?? false)
}
......@@ -4139,6 +4142,15 @@ public class swiftApi {
}
}
public var _buttonTitle: String {
get { // getter
return self.buttonTitle
}
set(newValue) { //setter
self.buttonTitle = newValue
}
}
public var _shortcut_enabled: Bool {
get { // getter
return self.shortcut_enabled
......