mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
fix: Another potential NPE
This commit is contained in:
parent
42b3dce0ef
commit
393ccb822e
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ data class BackupTracking(
|
|||
syncId = track.sync_id.toInt(),
|
||||
mediaId = track.media_id,
|
||||
// forced not null so its compatible with 1.x backup system
|
||||
libraryId = track.library_id!!,
|
||||
libraryId = track.library_id ?: 0L,
|
||||
title = track.title,
|
||||
lastChapterRead = track.last_chapter_read,
|
||||
totalChapters = track.total_chapters.toInt(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue