mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-06-05 21:59:17 +02:00
making a context nullable
This commit is contained in:
@@ -106,7 +106,7 @@ class DayFragment : Fragment() {
|
|||||||
fun updateCalendar() {
|
fun updateCalendar() {
|
||||||
val startTS = Formatter.getDayStartTS(mDayCode)
|
val startTS = Formatter.getDayStartTS(mDayCode)
|
||||||
val endTS = Formatter.getDayEndTS(mDayCode)
|
val endTS = Formatter.getDayEndTS(mDayCode)
|
||||||
context!!.dbHelper.getEvents(startTS, endTS) {
|
context?.dbHelper?.getEvents(startTS, endTS) {
|
||||||
receivedEvents(it)
|
receivedEvents(it)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user