Fix downloaded only

This commit is contained in:
Jobobby04 2020-05-04 19:20:54 -04:00
parent 074a1bbca4
commit d6f0c0837b

View File

@ -148,7 +148,7 @@ class LibraryPresenter(
item.downloadCount != -1 -> item.downloadCount > 0 item.downloadCount != -1 -> item.downloadCount > 0
else -> downloadManager.getDownloadCount(item.manga) > 0 else -> downloadManager.getDownloadCount(item.manga) > 0
} }
return@f if (filterDownloaded == STATE_INCLUDE) isDownloaded else !isDownloaded return@f if (filterDownloaded == STATE_INCLUDE || filterDownloadedOnly) isDownloaded else !isDownloaded
} }
true true
} }