mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-22 02:01:48 +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 {
|
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 New Issue
Block a user