🐛 - 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 */ /* Hide splash screen, either after 2 seconds, or immediately based on user preference */
hideSplash() { hideSplash() {
if (this.shouldShowSplash() && !this.shouldHidePageComponents()) { if (this.shouldShowSplash()) {
setTimeout(() => { this.isLoading = false; }, splashScreenTime || 2000); setTimeout(() => { this.isLoading = false; }, splashScreenTime || 1500);
} else { } else {
this.isLoading = false; this.isLoading = false;
} }