mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-01-31 02:44:57 +01:00
making a context nullable
This commit is contained in:
parent
8823f8199d
commit
edd6bafa43
@ -106,7 +106,7 @@ class DayFragment : Fragment() {
|
||||
fun updateCalendar() {
|
||||
val startTS = Formatter.getDayStartTS(mDayCode)
|
||||
val endTS = Formatter.getDayEndTS(mDayCode)
|
||||
context!!.dbHelper.getEvents(startTS, endTS) {
|
||||
context?.dbHelper?.getEvents(startTS, endTS) {
|
||||
receivedEvents(it)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user