use the adjusted primary color for highlighting at search

This commit is contained in:
tibbi
2022-03-21 14:19:24 +01:00
parent e94b4d9f4b
commit 34d7d06cd6
2 changed files with 2 additions and 2 deletions

View File

@ -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()