mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-10 12:47:26 +01:00
ReaderActivity: Reduce anim duration when launched from resume FAB (#6762)
From enter 500ms exit 400ms To both 350ms
This commit is contained in:
parent
c447022092
commit
fae43fedfa
@ -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)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user