From 6ecca00c5bb33bdf68675870b6680d601c789126 Mon Sep 17 00:00:00 2001 From: Krishna Kishore Bandaru Date: Tue, 12 Mar 2024 18:29:31 +0530 Subject: [PATCH] removed commented code --- .../NotificationViewController.swift | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/VDSSample/ViewControllers/NotificationViewController.swift b/VDSSample/ViewControllers/NotificationViewController.swift index cb27f6a..becd52a 100644 --- a/VDSSample/ViewControllers/NotificationViewController.swift +++ b/VDSSample/ViewControllers/NotificationViewController.swift @@ -29,10 +29,6 @@ class NotificationViewController: BaseViewController { 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 { 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 { 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) {