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-15 15:43:49 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7c53de693215c77cce033b6555c91a19988fa89e
7c53de69
1 parent
ae8d114a
add buttonTitle key at PacingDetails
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
View file @
7c53de6
...
...
@@ -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
...
...
Please
register
or
login
to post a comment