We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83e1322 commit d52e6c8Copy full SHA for d52e6c8
app/src/main/kotlin/com/simplemobiletools/filemanager/pro/activities/ReadTextActivity.kt
@@ -98,7 +98,6 @@ class ReadTextActivity : SimpleActivity() {
98
private fun openSearch() {
99
isSearchActive = true
100
search_wrapper.beVisible()
101
-
102
showKeyboard(searchQueryET)
103
104
read_text_view.requestFocus()
@@ -260,7 +259,7 @@ class ReadTextActivity : SimpleActivity() {
260
259
read_text_view.text?.clearSpans()
261
262
if (text.isNotBlank() && text.length > 1) {
263
- searchMatches = text.searchMatches(read_text_view.value)
+ searchMatches = read_text_view.value.searchMatches(text)
264
read_text_view.highlightText(text, config.primaryColor)
265
}
266
0 commit comments