mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-01-30 10:14:55 +01:00
use adjusted primary color at highlighting searched strings
This commit is contained in:
parent
e7e27b7300
commit
d7cb86e8cd
@ -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()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user