fixing widget scrolling

This commit is contained in:
tibbi
2019-07-26 09:44:01 +02:00
parent 49f9de3ea8
commit b34f95ac58
2 changed files with 5 additions and 11 deletions

View File

@ -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 {