Make lock icon bigger and use primary color

This commit is contained in:
Ensar Sarajčić
2023-08-03 11:28:49 +02:00
parent 037d8f0147
commit eec54e49d8
2 changed files with 2 additions and 2 deletions

View File

@ -74,6 +74,7 @@ class OpenNoteAdapter(
val formattedText = note.getFormattedValue(context)
open_note_item_text.beGoneIf(formattedText.isNullOrBlank() || note.isLocked())
icon_lock.beVisibleIf(note.isLocked())
icon_lock.setImageDrawable(activity.resources.getColoredDrawableWithColor(R.drawable.ic_lock_vector, properPrimaryColor))
open_note_item_text.apply {
text = formattedText
setTextColor(textColor)