mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-06-05 17:00:23 +02:00
-fixed, text gets cut on widget #284
This commit is contained in:
@ -29,7 +29,7 @@ class MyWidgetProvider : AppWidgetProvider() {
|
||||
Thread {
|
||||
context.widgetsDB.getWidgets().forEach {
|
||||
val views = RemoteViews(context.packageName, R.layout.widget)
|
||||
views.setBackgroundColor(R.id.notes_widget_holder, context.config.widgetBgColor)
|
||||
views.setBackgroundColor(R.id.frame_widget, context.config.widgetBgColor)
|
||||
setupAppOpenIntent(context, views, R.id.notes_widget_holder, it)
|
||||
|
||||
Intent(context, WidgetService::class.java).apply {
|
||||
@ -57,4 +57,4 @@ class MyWidgetProvider : AppWidgetProvider() {
|
||||
}
|
||||
}.start()
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user