ReaderActivity: Reduce anim duration when launched from resume FAB (#6762)

From enter 500ms exit 400ms
To both 350ms
This commit is contained in:
Ivan Iskandar 2022-03-10 19:51:42 +07:00 committed by GitHub
parent c447022092
commit fae43fedfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -320,6 +320,7 @@ class ReaderActivity : BaseRxActivity<ReaderActivityBinding, ReaderPresenter>()
private fun buildContainerTransform(entering: Boolean): MaterialContainerTransform {
return MaterialContainerTransform(this, entering).apply {
duration = 350 // ms
addTarget(android.R.id.content)
}
}