diff --git a/VDSSample/ViewControllers/InputFieldViewController.swift b/VDSSample/ViewControllers/InputFieldViewController.swift index e1e81b7..c935829 100644 --- a/VDSSample/ViewControllers/InputFieldViewController.swift +++ b/VDSSample/ViewControllers/InputFieldViewController.swift @@ -117,7 +117,7 @@ class InputFieldViewController: BaseViewController { } func setupModel() { - component.type = .text + component.fieldType = .text component.width = 328 component.labelText = "Street Address" component.helperText = "For example: 123 Verizon St" @@ -171,7 +171,7 @@ class InputFieldViewController: BaseViewController { extension InputFieldViewController: ComponentSampleable { static func makeSample() -> ComponentSample { let component = Self.makeComponent() - component.type = .text + component.fieldType = .text component.width = 328 component.labelText = "Street Address" component.helperText = "For example: 123 Verizon St" diff --git a/VDSSample/ViewControllers/NotificationViewController.swift b/VDSSample/ViewControllers/NotificationViewController.swift index c8e3568..6bf5a09 100644 --- a/VDSSample/ViewControllers/NotificationViewController.swift +++ b/VDSSample/ViewControllers/NotificationViewController.swift @@ -52,7 +52,7 @@ class NotificationViewController: BaseViewController { override func setupForm() { super.setupForm() addFormRow(label: "Surface", view: surfacePickerSelectorView) - addFormRow(label: "Type", view: notificationTypePickerSelectorView) + addFormRow(label: "Style", view: notificationTypePickerSelectorView) addFormRow(label: "Layout", view: layoutTypePickerSelectorView) addFormRow(label: "Title", view: titleTextField) addFormRow(label: "SubTitle", view: subTitleTextField) @@ -114,7 +114,7 @@ class NotificationViewController: BaseViewController { } notificationTypePickerSelectorView.onPickerDidSelect = { [weak self] item in - self?.component.type = item + self?.component.style = item } layoutTypePickerSelectorView.onPickerDidSelect = { [weak self] item in