mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-21 20:47:03 -05: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
1 changed files with 1 additions and 0 deletions
|
@ -320,6 +320,7 @@ class ReaderActivity : BaseRxActivity<ReaderActivityBinding, ReaderPresenter>()
|
||||||
|
|
||||||
private fun buildContainerTransform(entering: Boolean): MaterialContainerTransform {
|
private fun buildContainerTransform(entering: Boolean): MaterialContainerTransform {
|
||||||
return MaterialContainerTransform(this, entering).apply {
|
return MaterialContainerTransform(this, entering).apply {
|
||||||
|
duration = 350 // ms
|
||||||
addTarget(android.R.id.content)
|
addTarget(android.R.id.content)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue