use adjusted primary color at highlighting searched strings

This commit is contained in:
tibbi 2022-03-21 18:47:29 +01:00
parent e7e27b7300
commit d7cb86e8cd
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ android {
}
dependencies {
implementation 'com.github.SimpleMobileTools:Simple-Commons:47f816b35e'
implementation 'com.github.SimpleMobileTools:Simple-Commons:e699738fae'
implementation 'com.github.Stericson:RootTools:df729dcb13'
implementation 'com.github.Stericson:RootShell:1.6'
implementation 'com.alexvasilkov:gesture-views:2.5.2'

View File

@ -303,7 +303,7 @@ class ReadTextActivity : SimpleActivity() {
if (text.isNotBlank() && text.length > 1) {
searchMatches = read_text_view.value.searchMatches(text)
read_text_view.highlightText(text, config.primaryColor)
read_text_view.highlightText(text, getAdjustedPrimaryColor())
}
if (searchMatches.isNotEmpty()) {