mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-02-17 04:10:45 +01:00
initialize context at onReceive of list widget
This commit is contained in:
parent
d78f3ea73c
commit
088317883a
@ -83,6 +83,8 @@ class MyWidgetListProvider : AppWidgetProvider() {
|
||||
}
|
||||
|
||||
override fun onReceive(context: Context, intent: Intent) {
|
||||
mContext = context
|
||||
|
||||
when (intent.action) {
|
||||
NEW_EVENT -> context.launchNewEventIntent(true, true)
|
||||
LAUNCH_TODAY -> launchDayActivity()
|
||||
|
Loading…
x
Reference in New Issue
Block a user