mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-04 16:18:55 +01:00 
			
		
		
		
	Fix crash on History tab when there is no next chapter (#6970)
This commit is contained in:
		@@ -95,7 +95,9 @@ class HistoryPresenter(
 | 
			
		||||
    fun getNextChapterForManga(mangaId: Long, chapterId: Long) {
 | 
			
		||||
        presenterScope.launchIO {
 | 
			
		||||
            val chapter = getNextChapterForManga.await(mangaId, chapterId)
 | 
			
		||||
            view?.openChapter(chapter)
 | 
			
		||||
            launchUI {
 | 
			
		||||
                view?.openChapter(chapter)
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user