From 8a54533514e422b95fd5dfd2d76f6116daae608a Mon Sep 17 00:00:00 2001 From: Zeqiang Li Date: Tue, 20 Apr 2021 12:23:50 +0800 Subject: [PATCH] Revert "temporarily bypass splash screen (#8486)" (#8490) This reverts commit e46a3b04d506836aa7c24271e526b72dd8b8ab3a. --- cocos/core/splash-screen.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/cocos/core/splash-screen.ts b/cocos/core/splash-screen.ts index e68c6cfc40..5d3b5db310 100644 --- a/cocos/core/splash-screen.ts +++ b/cocos/core/splash-screen.ts @@ -119,11 +119,7 @@ export class SplashScreen { if (window._CCSettings && window._CCSettings.splashScreen) { const setting: Writable = this.setting = window._CCSettings.splashScreen; setting.totalTime = this.setting.totalTime != null ? this.setting.totalTime : 3000; - if (JSB) { - setting.base64src = ''; - } else { - setting.base64src = this.setting.base64src || ''; - } + setting.base64src = this.setting.base64src || ''; setting.effect = this.setting.effect || 'FADE-INOUT'; setting.clearColor = this.setting.clearColor || new Color(0.88, 0.88, 0.88, 1); setting.displayRatio = this.setting.displayRatio != null ? this.setting.displayRatio : 0.4;