mirror of
https://github.com/Lissy93/dashy.git
synced 2024-12-29 20:11:53 +03:00
🐛 - Fixes splash screen not hiding
This commit is contained in:
parent
4f1f0bfd0f
commit
c7d91bed94
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user