Skip to content

Commit eec54e4

Browse files
committed
Make lock icon bigger and use primary color
1 parent 037d8f0 commit eec54e4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/src/main/kotlin/com/simplemobiletools/notes/pro/adapters/OpenNoteAdapter.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ class OpenNoteAdapter(
7474
val formattedText = note.getFormattedValue(context)
7575
open_note_item_text.beGoneIf(formattedText.isNullOrBlank() || note.isLocked())
7676
icon_lock.beVisibleIf(note.isLocked())
77+
icon_lock.setImageDrawable(activity.resources.getColoredDrawableWithColor(R.drawable.ic_lock_vector, properPrimaryColor))
7778
open_note_item_text.apply {
7879
text = formattedText
7980
setTextColor(textColor)

app/src/main/res/layout/open_note_item.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@
1414
android:layout_width="match_parent"
1515
android:layout_height="@dimen/open_note_popup_lock_size"
1616
android:layout_below="@+id/open_note_item_title"
17-
android:alpha="0.5"
1817
android:importantForAccessibility="no"
19-
android:scaleType="centerInside"
18+
android:padding="@dimen/small_margin"
2019
android:src="@drawable/ic_lock_vector"
2120
android:visibility="gone" />
2221

0 commit comments

Comments
 (0)