Skip to content

Commit b5de1d8

Browse files
committed
fix app wouldn't app daily anymore, thanks @FloEdelmann !!
1 parent b75d266 commit b5de1d8

File tree

1 file changed

+2
-0
lines changed
  • app/src/commonMain/kotlin/de/westnordost/streetcomplete/data

1 file changed

+2
-0
lines changed

app/src/commonMain/kotlin/de/westnordost/streetcomplete/data/FeedsUpdater.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ class FeedsUpdater(
2222
val today = LocalDate.now()
2323
val lastUpdate = prefs.lastFeedUpdate
2424
if (lastUpdate != null && lastUpdate >= today) return
25+
26+
updateNow()
2527
}
2628

2729
/** (force) update now */

0 commit comments

Comments
 (0)