💫 Removes splash screen on by default

This commit is contained in:
Alicia Sykes
2021-12-29 18:00:54 +00:00
parent d59466c7b5
commit 7f4948aa04
4 changed files with 8 additions and 11 deletions

View File

@@ -19,7 +19,6 @@ import Keys from '@/utils/StoreMutations';
import {
localStorageKeys,
splashScreenTime,
visibleComponents as defaultVisibleComponents,
language as defaultLanguage,
} from '@/utils/defaults';
@@ -43,7 +42,7 @@ export default {
},
/* Determine if splash screen should be shown */
shouldShowSplash() {
return (this.visibleComponents || defaultVisibleComponents).splashScreen;
return (this.appConfig.showSplashScreen);
},
config() {
return this.$store.state.config;

View File

@@ -48,8 +48,6 @@ export const componentVisibility = (appConfig) => {
? !usersChoice.hideSettings : visibleComponents.settings,
footer: isThere(usersChoice.hideFooter)
? !usersChoice.hideFooter : visibleComponents.footer,
splashScreen: isThere(usersChoice.hideSplashScreen)
? !usersChoice.hideSplashScreen : visibleComponents.splashScreen,
};
};

View File

@@ -345,12 +345,6 @@
"type": "boolean",
"default": "false",
"description": "If set to true, the page footer will be hidden"
},
"hideSplashScreen": {
"title": "Hide Splash Screen?",
"type": "boolean",
"default": "true",
"description": "If set to true, the loading / splash screen will not be shown"
}
}
},
@@ -438,6 +432,12 @@
}
}
},
"showSplashScreen": {
"title": "Show splash screen",
"type": "boolean",
"default": "false",
"description": "If set to true, a loading screen will be shown"
},
"allowConfigEdit": {
"title": "Allow Config Editing",
"type": "boolean",