mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
Fix link intents not working correct with multi langauges enabled
Fixes #1191
This commit is contained in:
parent
94fcad3ef5
commit
90db097c21
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ open class GlobalSearchController(
|
|||
fun setItems(searchResult: List<GlobalSearchItem>) {
|
||||
if (extensionFilter != null) {
|
||||
val results = searchResult.firstOrNull()?.results
|
||||
if (results != null && results.size == 1) {
|
||||
if (results != null && searchResult.size == 1 && results.size == 1) {
|
||||
val manga = results.first().manga
|
||||
router.replaceTopController(
|
||||
MangaDetailsController(manga, true)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue