From 40e5d1eeae9c2c3759f0a7721f3505a7e7282eb2 Mon Sep 17 00:00:00 2001 From: Christophe Beyls Date: Sat, 6 Jan 2024 00:31:07 +0100 Subject: [PATCH] feat: display the next events of the coming hour instead of the coming 30 minutes and rename "events" to "sessions". --- .../main/java/be/digitalia/fosdem/viewmodels/LiveViewModel.kt | 2 +- app/src/main/res/values/strings.xml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/be/digitalia/fosdem/viewmodels/LiveViewModel.kt b/app/src/main/java/be/digitalia/fosdem/viewmodels/LiveViewModel.kt index b6e2664c..465eb7c0 100644 --- a/app/src/main/java/be/digitalia/fosdem/viewmodels/LiveViewModel.kt +++ b/app/src/main/java/be/digitalia/fosdem/viewmodels/LiveViewModel.kt @@ -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) } } \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 109f3c0d..7cfa2fc0 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -41,9 +41,9 @@ Next - During FOSDEM, the events to come in the next 30 minutes will be shown here. + During FOSDEM, the sessions to come in the next hour will be shown here. Now - During FOSDEM, the events in progress will be shown here. + During FOSDEM, the sessions in progress will be shown here. Other