Skip to content

Commit

Permalink
feat: display the next events of the coming hour instead of the comin…
Browse files Browse the repository at this point in the history
…g 30 minutes and rename "events" to "sessions".
  • Loading branch information
cbeyls committed Jan 5, 2024
1 parent 9329bdc commit 40e5d1e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@ class LiveViewModel @Inject constructor(scheduleDao: ScheduleDao) : ViewModel()

companion object {
private val REFRESH_PERIOD = 1.minutes
private val NEXT_EVENTS_INTERVAL = Duration.ofMinutes(30L)
private val NEXT_EVENTS_INTERVAL = Duration.ofHours(1L)
}
}
4 changes: 2 additions & 2 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@

<!-- Live -->
<string name="next">Next</string>
<string name="next_empty">During FOSDEM, the events to come in the next 30 minutes will be shown here.</string>
<string name="next_empty">During FOSDEM, the sessions to come in the next hour will be shown here.</string>
<string name="now">Now</string>
<string name="now_empty">During FOSDEM, the events in progress will be shown here.</string>
<string name="now_empty">During FOSDEM, the sessions in progress will be shown here.</string>

<!-- Track types -->
<string name="other">Other</string>
Expand Down

0 comments on commit 40e5d1e

Please sign in to comment.