Fix expand animation in manga info

This commit is contained in:
Jays2Kings 2021-09-07 16:00:21 -04:00
parent afd75db2d6
commit cb71c4e96f

View file

@ -174,7 +174,7 @@ class MangaHeaderHolder(
binding.mangaAuthor.maxLines = Integer.MAX_VALUE
binding.mangaSummary.requestFocus()
if (animated) {
val transition = androidx.transition.Slide()
val transition = androidx.transition.ChangeBounds()
transition.duration = binding.root.resources.getInteger(
android.R.integer.config_shortAnimTime
).toLong()