Seearch by manga description in Library (#716)

pull/7308/head
joseph619 3 years ago committed by GitHub
parent 8199ce0412
commit db818f2e6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -153,6 +153,7 @@ class LibraryItem(
return manga.title.contains(constraint, true) ||
(manga.author?.contains(constraint, true) ?: false) ||
(manga.artist?.contains(constraint, true) ?: false) ||
(manga.description?.contains(constraint, true) ?: false) ||
sourceName.contains(constraint, true) ||
if (constraint.contains(",")) {
val genres = manga.genre?.split(", ")

Loading…
Cancel
Save