Tag favorite bug fix

This commit is contained in:
tom5079
2020-09-26 09:36:20 +09:00
parent 44e3d16cd6
commit f7c45df9a6
4 changed files with 8 additions and 6 deletions

View File

@@ -672,7 +672,9 @@ class MainActivity :
swapSuggestions(listOf(LoadingSuggestion(getText(R.string.reader_loading).toString())))
val currentQuery = query.split(" ").last().replace('_', ' ')
val currentQuery = query.split(" ").last()
.replace(Regex("^-"), "")
.replace('_', ' ')
suggestionJob = CoroutineScope(Dispatchers.IO).launch {
val suggestions = kotlin.runCatching {