diff options
author | Frank Elias <francois.elias@livio.io> | 2020-12-02 14:32:28 -0500 |
---|---|---|
committer | Frank Elias <francois.elias@livio.io> | 2020-12-02 14:32:28 -0500 |
commit | 57319abe20b3d5a8d0b4c8fa6bba417eb32a4a6c (patch) | |
tree | 65bd4c5ca16f71386427b289e6be0fad10b1c411 /Example Apps/Example Swift | |
parent | f78ef8d2a694eaf1e5c0ae7d76325ca427ec8c4a (diff) | |
download | sdl_ios-57319abe20b3d5a8d0b4c8fa6bba417eb32a4a6c.tar.gz |
Comments review
Diffstat (limited to 'Example Apps/Example Swift')
-rw-r--r-- | Example Apps/Example Swift/AlertManager.swift | 2 |
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 { |