Commit e29512a0 authored by pete谢兆麟's avatar pete谢兆麟

Merge branch 'develop' of http://gitlab.galaxy-immi.com/mobile-group/galaxy-iOS into develop

parents 072a26c9 6e1aa5bf
......@@ -59,6 +59,9 @@ class YHRecommendedAppointmentLiveView: UIView {
}()
@objc private func appointmentButtonClicked() {
if appointmentButton.isSelected {
return
}
appointmentButtonEvent?()
}
......@@ -126,11 +129,9 @@ class YHRecommendedAppointmentLiveView: UIView {
func updateAppointmentButton(isAppointmented: Bool) {
if isAppointmented {
appointmentButton.isSelected = true
appointmentButton.isEnabled = false
self.appointmentButton.isSelected = true
} else {
appointmentButton.isSelected = false
appointmentButton.isEnabled = true
self.appointmentButton.isSelected = false
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment