mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-06-05 17:00:23 +02:00
allow syncing note with content uris
This commit is contained in:
@ -56,7 +56,7 @@ class WidgetAdapter(val context: Context, val intent: Intent) : RemoteViewsServi
|
||||
}
|
||||
} else {
|
||||
remoteView = RemoteViews(context.packageName, R.layout.widget_text_layout).apply {
|
||||
val noteText = note!!.getNoteStoredValue() ?: ""
|
||||
val noteText = note!!.getNoteStoredValue(context) ?: ""
|
||||
for (id in textIds) {
|
||||
setText(id, noteText)
|
||||
setTextColor(id, widgetTextColor)
|
||||
|
Reference in New Issue
Block a user