From fae43fedfa2abed871455e8b2d7ec474c1a904e9 Mon Sep 17 00:00:00 2001 From: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com> Date: Thu, 10 Mar 2022 19:51:42 +0700 Subject: [PATCH] ReaderActivity: Reduce anim duration when launched from resume FAB (#6762) From enter 500ms exit 400ms To both 350ms --- .../main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt index b341457ca3..9e8a1b6d7d 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt @@ -320,6 +320,7 @@ class ReaderActivity : BaseRxActivity() private fun buildContainerTransform(entering: Boolean): MaterialContainerTransform { return MaterialContainerTransform(this, entering).apply { + duration = 350 // ms addTarget(android.R.id.content) } }