Skip to content

Commit d7cb86e

Browse files
committed
use adjusted primary color at highlighting searched strings
1 parent e7e27b7 commit d7cb86e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ android {
6363
}
6464

6565
dependencies {
66-
implementation 'com.github.SimpleMobileTools:Simple-Commons:47f816b35e'
66+
implementation 'com.github.SimpleMobileTools:Simple-Commons:e699738fae'
6767
implementation 'com.github.Stericson:RootTools:df729dcb13'
6868
implementation 'com.github.Stericson:RootShell:1.6'
6969
implementation 'com.alexvasilkov:gesture-views:2.5.2'

app/src/main/kotlin/com/simplemobiletools/filemanager/pro/activities/ReadTextActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ class ReadTextActivity : SimpleActivity() {
303303

304304
if (text.isNotBlank() && text.length > 1) {
305305
searchMatches = read_text_view.value.searchMatches(text)
306-
read_text_view.highlightText(text, config.primaryColor)
306+
read_text_view.highlightText(text, getAdjustedPrimaryColor())
307307
}
308308

309309
if (searchMatches.isNotEmpty()) {

0 commit comments

Comments
 (0)