fixed warnings

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2022-11-08 11:14:04 -06:00
parent 59cc512a5c
commit 14256b6d9d
2 changed files with 4 additions and 4 deletions

View File

@ -62,13 +62,13 @@ class CheckboxGroupViewController: BaseViewController {
}
func setupModel() {
var checkbox1 = Checkbox()
let checkbox1 = Checkbox()
checkbox1.inputId = "model1"
checkbox1.value = "model 1 Value"
checkbox1.labelText = "iPhone 11 Bundle 1"
checkbox1.childText = "Apple iPhone 11 - 64 GB\nOtterbox Case Red\nScreen Protector"
var checkbox2 = Checkbox()
let checkbox2 = Checkbox()
checkbox2.inputId = "model2"
checkbox2.value = "model 2 Value"
checkbox2.labelText = "iPhone 11 Bundle 2"

View File

@ -72,7 +72,7 @@ class RadioBoxGroupViewController: BaseViewController {
func setupModel(){
var radioBox1 = RadioBox()
let radioBox1 = RadioBox()
radioBox1.inputId = "model1"
radioBox1.isSelected = true
radioBox1.value = "model 1 Value"
@ -80,7 +80,7 @@ class RadioBoxGroupViewController: BaseViewController {
radioBox1.subText = "Apple iPhone 11 - 64 GB\nOtterbox Case Red\nScreen Protector"
radioBox1.subTextRight = "Right Text"
var radioBox2 = RadioBox()
let radioBox2 = RadioBox()
radioBox2.inputId = "model2"
radioBox2.value = "model 2 Value"
radioBox2.text = "iPhone 11 Bundle 2"