Fix a rare crash when invoking "Mark previous as read" action
Closes #1421 (cherry picked from commit f508d10ad13560d7316df8642bc93fe66c05b9a8) # Conflicts: # CHANGELOG.md
This commit is contained in:
parent
2187731d70
commit
226321f334
@ -1263,6 +1263,7 @@ class MangaScreenModel(
|
||||
*/
|
||||
fun markChaptersRead(chapters: List<Chapter>, read: Boolean) {
|
||||
toggleAllSelection(false)
|
||||
if (chapters.isEmpty()) return
|
||||
screenModelScope.launchIO {
|
||||
setReadStatus.await(
|
||||
read = read,
|
||||
|
Loading…
x
Reference in New Issue
Block a user