🐛 - Fixes splash screen not hiding

This commit is contained in:
Alicia Sykes 2021-07-07 20:27:45 +01:00
parent 4f1f0bfd0f
commit c7d91bed94

View File

@ -64,8 +64,8 @@ export default {
},
/* Hide splash screen, either after 2 seconds, or immediately based on user preference */
hideSplash() {
if (this.shouldShowSplash() && !this.shouldHidePageComponents()) {
setTimeout(() => { this.isLoading = false; }, splashScreenTime || 2000);
if (this.shouldShowSplash()) {
setTimeout(() => { this.isLoading = false; }, splashScreenTime || 1500);
} else {
this.isLoading = false;
}