mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-02-02 23:27:33 +01:00
hide the notes picker view when we are just customizing widget colors
This commit is contained in:
parent
a833eb5c0b
commit
3ebc3bce42
@ -87,6 +87,8 @@ class WidgetConfigureActivity : SimpleActivity() {
|
|||||||
mTextColor = config.widgetTextColor
|
mTextColor = config.widgetTextColor
|
||||||
updateTextColor()
|
updateTextColor()
|
||||||
mIsCustomizingColors = intent.extras?.getBoolean(IS_CUSTOMIZING_COLORS) ?: false
|
mIsCustomizingColors = intent.extras?.getBoolean(IS_CUSTOMIZING_COLORS) ?: false
|
||||||
|
notes_picker_holder.beVisibleIf(!mIsCustomizingColors)
|
||||||
|
|
||||||
NotesHelper(this).getNotes {
|
NotesHelper(this).getNotes {
|
||||||
mNotes = it
|
mNotes = it
|
||||||
notes_picker_holder.beVisibleIf(mNotes.size > 1 && !mIsCustomizingColors)
|
notes_picker_holder.beVisibleIf(mNotes.size > 1 && !mIsCustomizingColors)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user