Sfoglia il codice sorgente

Fix crash when no chapters can't be loaded

arkon 4 anni fa
parent
commit
2caecc01b2

+ 1 - 1
app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaPresenter.kt

@@ -362,7 +362,7 @@ class MangaPresenter(
 
                 launchUI { view?.onFetchChaptersDone() }
             } catch (e: Throwable) {
-                view?.onFetchChaptersError(e)
+                launchUI { view?.onFetchChaptersError(e) }
             }
         }
     }