From 070fc7c33b7f949623f7522bebcf1bbee7a56676 Mon Sep 17 00:00:00 2001 From: tibbi Date: Tue, 23 Oct 2018 20:19:01 +0200 Subject: [PATCH] apply the set default view at opening the app via widget list sections too --- .../calendar/adapters/EventListWidgetAdapter.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/adapters/EventListWidgetAdapter.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/adapters/EventListWidgetAdapter.kt index 4bd65637d..ddac6b6bf 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/adapters/EventListWidgetAdapter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/adapters/EventListWidgetAdapter.kt @@ -132,6 +132,7 @@ class EventListWidgetAdapter(val context: Context) : RemoteViewsService.RemoteVi Intent().apply { putExtra(DAY_CODE, item.code) + putExtra(VIEW_TO_OPEN, context.config.listWidgetViewToOpen) setOnClickFillInIntent(event_section_title, this) } }