Add search by tracking service
This commit is contained in:
parent
5d1dafd89f
commit
136dd6c43f
1 changed files with 2 additions and 1 deletions
|
|
@ -132,7 +132,8 @@ class LibraryItem(val manga: LibraryManga, private val libraryDisplayMode: Prefe
|
||||||
val trackService = trackManager.getService(it.sync_id)
|
val trackService = trackManager.getService(it.sync_id)
|
||||||
if (trackService != null) {
|
if (trackService != null) {
|
||||||
val status = trackService.getStatus(it.status)
|
val status = trackService.getStatus(it.status)
|
||||||
return@any status.contains(constraint, true)
|
val name = trackService.name
|
||||||
|
return@any status.contains(constraint, true) || name.contains(constraint, true)
|
||||||
}
|
}
|
||||||
return@any false
|
return@any false
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue