mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-03-22 19:40:07 +01:00
use the adjusted primary color for highlighting at search
This commit is contained in:
parent
e94b4d9f4b
commit
34d7d06cd6
@ -63,7 +63,7 @@ android {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'com.github.SimpleMobileTools:Simple-Commons:0ed7becb4d'
|
||||
implementation 'com.github.SimpleMobileTools:Simple-Commons:47f816b35e'
|
||||
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
|
||||
implementation 'androidx.documentfile:documentfile:1.0.1'
|
||||
|
||||
|
@ -487,7 +487,7 @@ class MainActivity : SimpleActivity() {
|
||||
|
||||
if (text.isNotBlank() && text.length > 1) {
|
||||
searchMatches = noteView.value.searchMatches(text)
|
||||
noteView.highlightText(text, config.primaryColor)
|
||||
noteView.highlightText(text, getAdjustedPrimaryColor())
|
||||
}
|
||||
|
||||
currentTextFragment?.setTextWatcher()
|
||||
|
Loading…
x
Reference in New Issue
Block a user