Lighter weight method of rounding cover art

This commit is contained in:
arkon
2020-05-03 22:29:09 -04:00
parent 018dbce57e
commit dabca5f09e
7 changed files with 34 additions and 44 deletions
@@ -85,6 +85,9 @@ class MangaInfoController(private val fromSource: Boolean = false) :
override fun onViewCreated(view: View) {
super.onViewCreated(view)
// Setting this via XML doesn't work
binding.mangaCover.clipToOutline = true
binding.btnFavorite.clicks()
.onEach { onFavoriteClick() }
.launchIn(scope)