use adjusted primary color at highlighting searched strings

This commit is contained in:
tibbi committed 2022-03-21 18:47:29 +01:00
1 parent e7e27b7300
commit d7cb86e8cd
2 files changed
+2 -2

No files matched your search

+1 -1
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'
@@ -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()) {