fix: handle last manga chapter check being null
This commit is contained in:
parent
5fcbfeb3db
commit
4d28ae2e3e
2 changed files with 4 additions and 3 deletions
|
@ -998,7 +998,7 @@ fun sinceWhen(media: Media, view: ViewGroup) {
|
|||
chapter.split("-")[1].trim()
|
||||
else
|
||||
chapter
|
||||
}?.toInt()
|
||||
}?.toIntOrNull() ?: return@launch
|
||||
val timeSince = (System.currentTimeMillis() -
|
||||
(it.metadata.series.lastUpdated!!.timestamp * 1000)) / 1000
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue