From 6dd72b3d12fb8dd6aa64f525e705c8dfc3a43599 Mon Sep 17 00:00:00 2001 From: jmir1 Date: Wed, 5 Jan 2022 03:17:58 +0100 Subject: [PATCH] fix crash in ReaderActivity --- .../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)