fix: address possible format issues (#331)
* fix: address possible format issued * fix: improve results and logging * fix: not everything is a title Fixed the book title style of capitalization Toast and Snackbar messages appear for less than 3 seconds. Why are they paragraphs? * Fix: the other half of the file Probably missed a few, but this fixes the rest of the obvious ones (including a double negative)
This commit is contained in:
parent
29e115ce41
commit
a51e025c03
3 changed files with 50 additions and 30 deletions
|
@ -993,8 +993,8 @@ 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)
|
||||
MangaUpdates().search(media.mangaName(), media.startDate)?.let {
|
||||
val latestChapter = MangaUpdates.getLatestChapter(view.context, it)
|
||||
val timeSince = (System.currentTimeMillis() -
|
||||
(it.metadata.series.lastUpdated!!.timestamp * 1000)) / 1000
|
||||
|
||||
|
@ -1436,4 +1436,4 @@ fun buildMarkwon(
|
|||
}))
|
||||
.build()
|
||||
return markwon
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue