mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-19 18:13:56 +00:00
fix: only show count on releasing/hiatus manga
This commit is contained in:
@@ -991,6 +991,7 @@ fun countDown(media: Media, view: ViewGroup) {
|
||||
}
|
||||
|
||||
fun sinceWhen(media: Media, view: ViewGroup) {
|
||||
if (media.status != "RELEASING" && media.status != "HIATUS") return
|
||||
CoroutineScope(Dispatchers.IO).launch {
|
||||
MangaUpdates().search(media.name ?: media.nameRomaji, media.startDate)?.let {
|
||||
val latestChapter = MangaUpdates.getLatestChapter(it)
|
||||
|
||||
Reference in New Issue
Block a user