mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-29 11:01:01 +00:00
fix: handle last manga chapter check being null
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user