Commit 237e05ae by Demid Merzlyakov

Remove debug logging.

parent d5522f2c
......@@ -71,7 +71,6 @@ class ForecastViewModel: ViewModelProtocol {
extension ForecastViewModel: LocationManagerDelegate {
func locationManager(_ locationManager: LocationManager, changedSelectedLocation newLocation: Location?) {
DispatchQueue.main.async {
print("TVM-Forecast")
self.location = newLocation
self.selectDailyWeatherAt(index: 0)
self.selectHourlyWeatherAt(index: 0)
......
......@@ -32,7 +32,6 @@ class TodayViewModel: ViewModelProtocol {
extension TodayViewModel: LocationManagerDelegate {
func locationManager(_ locationManager: LocationManager, changedSelectedLocation newLocation: Location?) {
DispatchQueue.main.async {
print("TVM")
self.location = newLocation
self.delegate?.viewModelDidChange(model: self)
}
......
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