removed commented code

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2024-02-14 11:01:19 -06:00
parent 6f1b6fb878
commit a635981aee

View File

@ -33,10 +33,6 @@ class NotificationViewController: BaseViewController<VDS.Notification> {
PickerSelectorView(title: "vertical", picker: self.picker, items: Notification.Layout.allCases)
}()
// lazy var typePickerSelectorView = {
// PickerSelectorView(title: "inLine", picker: self.picker, items: Notification.Type.allCases)
// }()
var notification = Notification()
override func viewDidLoad() {
@ -65,7 +61,6 @@ class NotificationViewController: BaseViewController<VDS.Notification> {
addFormRow(label: "Surface", view: surfacePickerSelectorView)
addFormRow(label: "Style", view: notificationTypePickerSelectorView)
addFormRow(label: "Layout", view: layoutTypePickerSelectorView)
// addFormRow(label: "Type", view: typePickerSelectorView)
addFormRow(label: "Title", view: titleTextField)
addFormRow(label: "SubTitle", view: subTitleTextField)
addFormRow(label: "Hide Button Group", view: buttonGroupToggle)
@ -145,14 +140,6 @@ class NotificationViewController: BaseViewController<VDS.Notification> {
self.layoutTypePickerSelectorView.set(item: self.component.layout)
}
}
// typePickerSelectorView.onPickerDidSelect = { [weak self] item in
// guard let self else { return }
// self.component.type = item
// if self.component.type != item {
// self.layoutTypePickerSelectorView.set(item: self.component.layout)
// }
// }
}
func setupButtons(with firstButtonText: String? = nil, secondButtonText: String? = nil) {