mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-17 12:49:19 +01:00
ignore fact that loader might be null (#3374)
This commit is contained in:
parent
eb254d9c56
commit
75d1913aaf
@ -666,7 +666,7 @@ class ReaderPresenter(
|
|||||||
* manager handles persisting it across process deaths.
|
* manager handles persisting it across process deaths.
|
||||||
*/
|
*/
|
||||||
private fun enqueueDeleteReadChapters(chapter: ReaderChapter) {
|
private fun enqueueDeleteReadChapters(chapter: ReaderChapter) {
|
||||||
if (!chapter.chapter.read || chapter.pageLoader !is DownloadPageLoader) return
|
if (!chapter.chapter.read) return
|
||||||
val manga = manga ?: return
|
val manga = manga ?: return
|
||||||
|
|
||||||
launchIO {
|
launchIO {
|
||||||
|
Loading…
Reference in New Issue
Block a user