removed commented code

This commit is contained in:
Krishna Kishore Bandaru 2024-03-12 18:29:31 +05:30
parent 890ce25f71
commit 6ecca00c5b

View File

@ -29,10 +29,6 @@ class NotificationViewController: BaseViewController<VDS.Notification> {
items: Notification.Style.allCases)
}()
// lazy var layoutTypePickerSelectorView = {
// PickerSelectorView(title: "vertical", picker: self.picker, items: Notification.Layout.allCases)
// }()
var notification = Notification()
override func viewDidLoad() {
@ -60,7 +56,6 @@ class NotificationViewController: BaseViewController<VDS.Notification> {
super.setupForm()
addFormRow(label: "Surface", view: surfacePickerSelectorView)
addFormRow(label: "Style", view: notificationTypePickerSelectorView)
// addFormRow(label: "Layout", view: layoutTypePickerSelectorView)
addFormRow(label: "Title", view: titleTextField)
addFormRow(label: "SubTitle", view: subTitleTextField)
addFormRow(label: "Hide Button Group", view: buttonGroupToggle)
@ -138,15 +133,6 @@ class NotificationViewController: BaseViewController<VDS.Notification> {
self.component.style = item
self.notification.style = item
}
/*layoutTypePickerSelectorView.onPickerDidSelect = { [weak self] item in
guard let self else { return }
self.component.layout = item
self.notification.layout = item
if self.component.layout != item {
self.layoutTypePickerSelectorView.set(item: self.component.layout)
}
}*/
}
func setupButtons(with firstButtonText: String? = nil, secondButtonText: String? = nil) {