mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-06-05 17:00:23 +02:00
create a table for widgets
This commit is contained in:
@ -109,7 +109,7 @@ class WidgetConfigureActivity : SimpleActivity() {
|
||||
val views = RemoteViews(packageName, R.layout.activity_main)
|
||||
views.setBackgroundColor(R.id.notes_view, mBgColor)
|
||||
AppWidgetManager.getInstance(this).updateAppWidget(mWidgetId, views)
|
||||
val widget = Widget(mWidgetId, mCurrentNoteId)
|
||||
val widget = Widget(null, mWidgetId, mCurrentNoteId)
|
||||
dbHelper.insertWidget(widget)
|
||||
|
||||
storeWidgetBackground()
|
||||
|
Reference in New Issue
Block a user