File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
kotlin/com/simplemobiletools/notes/pro/fragments Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -122,8 +122,11 @@ class TextFragment : NoteFragment() {
122122 return
123123 }
124124
125- setColors(config.textColor, context.getAdjustedPrimaryColor(), config.backgroundColor)
125+ val adjustedPrimaryColor = context.getAdjustedPrimaryColor()
126+ setColors(config.textColor, adjustedPrimaryColor, config.backgroundColor)
126127 setTextSize(TypedValue .COMPLEX_UNIT_PX , context.getTextSize())
128+ highlightColor = adjustedPrimaryColor.adjustAlpha(.4f )
129+
127130 gravity = config.getTextGravity()
128131 if (text.toString() != fileContents) {
129132 if (! skipTextUpdating) {
Original file line number Diff line number Diff line change 1010 android : id =" @+id/open_note_item_radio_button"
1111 android : layout_width =" match_parent"
1212 android : layout_height =" wrap_content"
13- android : layout_toLeftOf =" @+id/open_note_item_icon" />
13+ android : layout_toStartOf =" @+id/open_note_item_icon" />
1414
1515 <ImageView
1616 android : id =" @+id/open_note_item_icon"
You can’t perform that action at this time.
0 commit comments