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() {
122
122
return
123
123
}
124
124
125
- setColors(config.textColor, context.getAdjustedPrimaryColor(), config.backgroundColor)
125
+ val adjustedPrimaryColor = context.getAdjustedPrimaryColor()
126
+ setColors(config.textColor, adjustedPrimaryColor, config.backgroundColor)
126
127
setTextSize(TypedValue .COMPLEX_UNIT_PX , context.getTextSize())
128
+ highlightColor = adjustedPrimaryColor.adjustAlpha(.4f )
129
+
127
130
gravity = config.getTextGravity()
128
131
if (text.toString() != fileContents) {
129
132
if (! skipTextUpdating) {
Original file line number Diff line number Diff line change 10
10
android : id =" @+id/open_note_item_radio_button"
11
11
android : layout_width =" match_parent"
12
12
android : layout_height =" wrap_content"
13
- android : layout_toLeftOf =" @+id/open_note_item_icon" />
13
+ android : layout_toStartOf =" @+id/open_note_item_icon" />
14
14
15
15
<ImageView
16
16
android : id =" @+id/open_note_item_icon"
You can’t perform that action at this time.
0 commit comments