We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5416f2b commit 09ea7acCopy full SHA for 09ea7ac
Precipitate/InitialViewController.swift
@@ -100,11 +100,9 @@ class InitialViewController: UIViewController {
100
self.weatherPageViewController.setUpChildVCs()
101
self.summaryViewController.setUpSubviews()
102
103
- if (Defaults["openCount"].int! == 1) {
104
- self.presentWeatherDataReceivedAlert()
105
- }
106
if (Defaults["forecastCount"].int == nil) {
107
- Defaults["forecastCount"] = 1
+ Defaults["forecastCount"] = 0
+ self.presentWeatherDataReceivedAlert()
108
}
109
Defaults["forecastCount"] = Defaults["forecastCount"].int! + 1
110
print("forecastCount: \(Defaults["forecastCount"].int!)")
0 commit comments