Merge pull request #1397 from breadsanta/master
Fixes #1361, properly showing events from the next month
This commit is contained in:
commit
4d3c82a470
|
@ -181,7 +181,7 @@ class MonthDayFragment : Fragment(), MonthlyCalendar, RefreshRecyclerViewListene
|
|||
|
||||
override fun refreshItems() {
|
||||
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 ->
|
||||
mListEvents = events
|
||||
activity?.runOnUiThread {
|
||||
|
|
Loading…
Reference in New Issue