mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-11-26 06:43:45 +03:00
fix crash in ReaderActivity
This commit is contained in:
parent
a3d060ff42
commit
6dd72b3d12
1 changed files with 1 additions and 1 deletions
|
@ -159,8 +159,8 @@ class ReaderActivity : BaseRxActivity<ReaderActivityBinding, ReaderPresenter>()
|
|||
applyAppTheme(preferences)
|
||||
|
||||
// Setup shared element transitions
|
||||
findViewById<View>(android.R.id.content)?.let { contentView ->
|
||||
window.requestFeature(Window.FEATURE_ACTIVITY_TRANSITIONS)
|
||||
findViewById<View>(android.R.id.content)?.let { contentView ->
|
||||
contentView.transitionName = SHARED_ELEMENT_NAME
|
||||
setEnterSharedElementCallback(MaterialContainerTransformSharedElementCallback())
|
||||
window.sharedElementEnterTransition = buildContainerTransform(true)
|
||||
|
|
Loading…
Reference in a new issue