Manos Chorianopoulos

add buttonTitle key at PacingDetails

...@@ -4059,6 +4059,7 @@ public class swiftApi { ...@@ -4059,6 +4059,7 @@ public class swiftApi {
4059 private var goal_reached: Bool 4059 private var goal_reached: Bool
4060 private var title: String 4060 private var title: String
4061 private var msg: String 4061 private var msg: String
4062 + private var buttonTitle: String
4062 private var shortcut_enabled: Bool 4063 private var shortcut_enabled: Bool
4063 4064
4064 4065
...@@ -4069,6 +4070,7 @@ public class swiftApi { ...@@ -4069,6 +4070,7 @@ public class swiftApi {
4069 self.goal_reached = false 4070 self.goal_reached = false
4070 self.title = "" 4071 self.title = ""
4071 self.msg = "" 4072 self.msg = ""
4073 + self.buttonTitle = ""
4072 self.shortcut_enabled = false 4074 self.shortcut_enabled = false
4073 } 4075 }
4074 4076
...@@ -4082,6 +4084,7 @@ public class swiftApi { ...@@ -4082,6 +4084,7 @@ public class swiftApi {
4082 self.goal_reached = (dictionary["goal_reached"] as? Bool ?? false) 4084 self.goal_reached = (dictionary["goal_reached"] as? Bool ?? false)
4083 self.title = (dictionary["title"] as? String ?? "") 4085 self.title = (dictionary["title"] as? String ?? "")
4084 self.msg = (dictionary["msg"] as? String ?? "") 4086 self.msg = (dictionary["msg"] as? String ?? "")
4087 + self.buttonTitle = (dictionary["button"] as? String ?? "")
4085 self.shortcut_enabled = (dictionary["shortcut_enabled"] as? Bool ?? false) 4088 self.shortcut_enabled = (dictionary["shortcut_enabled"] as? Bool ?? false)
4086 } 4089 }
4087 4090
...@@ -4139,6 +4142,15 @@ public class swiftApi { ...@@ -4139,6 +4142,15 @@ public class swiftApi {
4139 } 4142 }
4140 } 4143 }
4141 4144
4145 + public var _buttonTitle: String {
4146 + get { // getter
4147 + return self.buttonTitle
4148 + }
4149 + set(newValue) { //setter
4150 + self.buttonTitle = newValue
4151 + }
4152 + }
4153 +
4142 public var _shortcut_enabled: Bool { 4154 public var _shortcut_enabled: Bool {
4143 get { // getter 4155 get { // getter
4144 return self.shortcut_enabled 4156 return self.shortcut_enabled
......