Fixes #1361
This commit is contained in:
parent
15bf0fb173
commit
b16219a9be
|
@ -181,7 +181,7 @@ class MonthDayFragment : Fragment(), MonthlyCalendar, RefreshRecyclerViewListene
|
||||||
|
|
||||||
override fun refreshItems() {
|
override fun refreshItems() {
|
||||||
val startDateTime = Formatter.getLocalDateTimeFromCode(mDayCode).minusWeeks(1)
|
val startDateTime = Formatter.getLocalDateTimeFromCode(mDayCode).minusWeeks(1)
|
||||||
val endDateTime = startDateTime.plusWeeks(6)
|
val endDateTime = startDateTime.plusWeeks(7)
|
||||||
activity?.eventsHelper?.getEvents(startDateTime.seconds(), endDateTime.seconds()) { events ->
|
activity?.eventsHelper?.getEvents(startDateTime.seconds(), endDateTime.seconds()) { events ->
|
||||||
mListEvents = events
|
mListEvents = events
|
||||||
activity?.runOnUiThread {
|
activity?.runOnUiThread {
|
||||||
|
|
Loading…
Reference in New Issue