Commit e46e8e35 by Demid Merzlyakov

IOS-184: tapping on minutely graph on Today takes to Forecast.

parent b70e29c6
......@@ -114,6 +114,14 @@ private extension TodayForecastTimePeriodCell {
make.top.equalTo(periodSegmentedControl.snp.bottom).offset(40).priority(.medium)
make.height.equalTo(240)
}
let tapRecognizer = UITapGestureRecognizer(target: self, action: #selector(handleMinutelyTap))
minutelyForecastView.addGestureRecognizer(tapRecognizer)
}
@objc
private func handleMinutelyTap() {
AppCoordinator.instance.openForecast(timePeriod: .minutely)
}
func prepareDescriptionView() {
......
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