File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
app/src/main/java/eu/kanade/tachiyomi/ui Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -242,8 +242,6 @@ open class MainActivity : BaseActivity<MainActivityBinding>() {
242242 }
243243
244244 override fun onCreate (savedInstanceState : Bundle ? ) {
245- val splashScreen = maybeInstallSplashScreen(savedInstanceState)
246-
247245 // Set up shared element transition and disable overlay so views don't show above system bars
248246 window.requestFeature(Window .FEATURE_ACTIVITY_TRANSITIONS )
249247 setExitSharedElementCallback(
@@ -268,6 +266,8 @@ open class MainActivity : BaseActivity<MainActivityBinding>() {
268266 )
269267 window.sharedElementsUseOverlay = false
270268
269+ val splashScreen = maybeInstallSplashScreen(savedInstanceState)
270+
271271 super .onCreate(savedInstanceState)
272272
273273 backPressedCallback = object : OnBackPressedCallback (enabled = true ) {
Original file line number Diff line number Diff line change @@ -275,8 +275,6 @@ class ReaderActivity : BaseActivity<ReaderActivityBinding>() {
275275 * Called when the activity is created. Initializes the view model and configuration.
276276 */
277277 override fun onCreate (savedInstanceState : Bundle ? ) {
278- val splashScreen = maybeInstallSplashScreen(savedInstanceState)
279-
280278 // Setup shared element transitions
281279 if (intent.extras?.getString(TRANSITION_NAME ) != null ) {
282280 window.requestFeature(Window .FEATURE_ACTIVITY_TRANSITIONS )
@@ -293,6 +291,8 @@ class ReaderActivity : BaseActivity<ReaderActivityBinding>() {
293291 }
294292 }
295293
294+ val splashScreen = maybeInstallSplashScreen(savedInstanceState)
295+
296296 super .onCreate(savedInstanceState)
297297 binding = ReaderActivityBinding .inflate(layoutInflater)
298298 setContentView(binding.root)
You can’t perform that action at this time.
0 commit comments