Skip to content

Commit 34d7d06

Browse files
committed
use the adjusted primary color for highlighting at search
1 parent e94b4d9 commit 34d7d06

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:0ed7becb4d'
66+
implementation 'com.github.SimpleMobileTools:Simple-Commons:47f816b35e'
6767
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
6868
implementation 'androidx.documentfile:documentfile:1.0.1'
6969

app/src/main/kotlin/com/simplemobiletools/notes/pro/activities/MainActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ class MainActivity : SimpleActivity() {
487487

488488
if (text.isNotBlank() && text.length > 1) {
489489
searchMatches = noteView.value.searchMatches(text)
490-
noteView.highlightText(text, config.primaryColor)
490+
noteView.highlightText(text, getAdjustedPrimaryColor())
491491
}
492492

493493
currentTextFragment?.setTextWatcher()

0 commit comments

Comments
 (0)