summaryrefslogtreecommitdiff
path: root/Example Apps/Example Swift
diff options
context:
space:
mode:
authorFrank Elias <francois.elias@livio.io>2020-12-02 14:32:28 -0500
committerFrank Elias <francois.elias@livio.io>2020-12-02 14:32:28 -0500
commit57319abe20b3d5a8d0b4c8fa6bba417eb32a4a6c (patch)
tree65bd4c5ca16f71386427b289e6be0fad10b1c411 /Example Apps/Example Swift
parentf78ef8d2a694eaf1e5c0ae7d76325ca427ec8c4a (diff)
downloadsdl_ios-57319abe20b3d5a8d0b4c8fa6bba417eb32a4a6c.tar.gz
Comments review
Diffstat (limited to 'Example Apps/Example Swift')
-rw-r--r--Example Apps/Example Swift/AlertManager.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/Example Apps/Example Swift/AlertManager.swift b/Example Apps/Example Swift/AlertManager.swift
index 5b4680342..bf0f1af96 100644
--- a/Example Apps/Example Swift/AlertManager.swift
+++ b/Example Apps/Example Swift/AlertManager.swift
@@ -17,7 +17,7 @@ class AlertManager {
/// - textField2: The second line of text in the alert
/// - sdlManager: The SDLManager
class func sendAlert(imageName: String? = nil, textField1: String, textField2: String? = nil, sdlManager: SDLManager) {
- let okSoftButton = SDLSoftButton(type: .text, text: AlertOKButtonText, image: nil, highlighted: true, buttonId: 2, systemAction: nil, handler: nil)
+ let okSoftButton = SDLSoftButton(type: .text, text: AlertOKButtonText, image: nil, highlighted: true, buttonId: 10000, systemAction: nil, handler: nil)
let alert = SDLAlert(alertText1: textField1, alertText2: textField2, alertText3: nil, softButtons: [okSoftButton], playTone: true, ttsChunks: nil, duration: 5000, progressIndicator: false, alertIcon: nil, cancelID: 0)
if let imageName = imageName {