From 2e1572d7cc556434b9e9b5198ea4b530846ffc3b Mon Sep 17 00:00:00 2001 From: jmir1 Date: Wed, 5 Jan 2022 03:29:14 +0100 Subject: [PATCH] fix crash in ReaderActivity (#6439) --- .../main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 0e346b6c3..3183683c0 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 @@ -159,8 +159,8 @@ class ReaderActivity : BaseRxActivity() applyAppTheme(preferences) // Setup shared element transitions + window.requestFeature(Window.FEATURE_ACTIVITY_TRANSITIONS) findViewById(android.R.id.content)?.let { contentView -> - window.requestFeature(Window.FEATURE_ACTIVITY_TRANSITIONS) contentView.transitionName = SHARED_ELEMENT_NAME setEnterSharedElementCallback(MaterialContainerTransformSharedElementCallback()) window.sharedElementEnterTransition = buildContainerTransform(true)