Fix rounded corners in migration items

This commit is contained in:
Jobobby04
2022-02-13 15:53:43 -05:00
parent 76b153346f
commit af7b0ead98
2 changed files with 6 additions and 3 deletions
@@ -155,6 +155,9 @@ class MigrationProcessHolder(
}
val chapters = db.getChapters(manga).executeAsBlocking()
// For rounded corners
badges.leftBadges.clipToOutline = true
badges.rightBadges.clipToOutline = true
badges.unreadText.isVisible = true
badges.unreadText.text = chapters.size.toString()
val latestChapter = chapters.maxByOrNull { it.chapter_number }?.chapter_number ?: -1f