mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-05-25 19:34:14 +02:00
properly handle text color changing at the list widget
This commit is contained in:
parent
2ebcdcd647
commit
3248d942cd
@ -123,6 +123,7 @@ class WidgetConfigureActivity : SimpleActivity() {
|
||||
}
|
||||
|
||||
ChecklistAdapter(this, items, null, checklist_note_view, false) {}.apply {
|
||||
updateTextColor(mTextColor)
|
||||
checklist_note_view.adapter = this
|
||||
}
|
||||
text_note_view.beGone()
|
||||
@ -180,6 +181,7 @@ class WidgetConfigureActivity : SimpleActivity() {
|
||||
private fun updateTextColor() {
|
||||
config_save.setTextColor(mTextColor)
|
||||
text_note_view.setTextColor(mTextColor)
|
||||
(checklist_note_view.adapter as? ChecklistAdapter)?.updateTextColor(mTextColor)
|
||||
config_text_color.setFillWithStroke(mTextColor, Color.BLACK)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user