We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81fa5cb commit 052eaefCopy full SHA for 052eaef
Manito/Manito/Screens/Detail-Wait/UIComponent/CalendarView.swift
@@ -66,7 +66,6 @@ final class CalendarView: UIView {
66
// MARK: - property
67
68
private var selectStartDate: Date = Date()
69
- var changeButtonState: ((Bool) -> ())?
70
var startDateText: String = ""
71
var endDateText: String = ""
72
private var tempStartDateText: String = ""
@@ -133,8 +132,6 @@ final class CalendarView: UIView {
133
132
func setupButtonState() {
134
let hasDate = self.tempStartDateText != "" && self.tempEndDateText != ""
135
self.delegate?.detectChangeButton(hasDate)
136
- // FIXME: - delegate로 통일 후 삭제해야함
137
- self.changeButtonState?(hasDate)
138
}
139
140
private func setupDelegation() {
0 commit comments