ignore fact that loader might be null (#3374)
(cherry picked from commit 75d1913aafa587ca74e12231558d14044ad99bfc)
This commit is contained in:
parent
50696bc580
commit
8aecdc2077
1 changed files with 1 additions and 1 deletions
|
|
@ -675,7 +675,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 a new issue