diff --git a/app/src/main/kotlin/com/simplemobiletools/notes/pro/helpers/MyWidgetProvider.kt b/app/src/main/kotlin/com/simplemobiletools/notes/pro/helpers/MyWidgetProvider.kt index b9187fb8..d3050de8 100644 --- a/app/src/main/kotlin/com/simplemobiletools/notes/pro/helpers/MyWidgetProvider.kt +++ b/app/src/main/kotlin/com/simplemobiletools/notes/pro/helpers/MyWidgetProvider.kt @@ -29,7 +29,7 @@ class MyWidgetProvider : AppWidgetProvider() { Thread { context.widgetsDB.getWidgets().forEach { val views = RemoteViews(context.packageName, R.layout.widget) - views.setBackgroundColor(R.id.frame_widget, context.config.widgetBgColor) + views.setBackgroundColor(R.id.notes_widget_holder, context.config.widgetBgColor) setupAppOpenIntent(context, views, R.id.notes_widget_holder, it) Intent(context, WidgetService::class.java).apply { diff --git a/app/src/main/res/layout/widget.xml b/app/src/main/res/layout/widget.xml index 61a82227..ea3e025f 100644 --- a/app/src/main/res/layout/widget.xml +++ b/app/src/main/res/layout/widget.xml @@ -1,20 +1,14 @@ - - - - - +