fastload - Adds setting for hiding the loading screen

pull/2320/head
Martin Boonk 2022-11-27 19:19:33 +01:00
parent 64567228a6
commit 65034377c6
2 changed files with 7 additions and 1 deletions

View File

@ -57,7 +57,7 @@ global.load = fastload;
Bangle.load = (o => (name) => {
print("Bangle.load", name);
if (Bangle.uiRemove) loadingScreen();
if (Bangle.uiRemove && !SETTINGS.hideLoading) loadingScreen();
if (SETTINGS.autoloadLauncher && !name){
print("redirect to launcher");
let orig = Bangle.load;

View File

@ -23,6 +23,12 @@
onchange: v => {
writeSettings("autoloadLauncher",v);
}
},
'Hide "Fastloading..."': {
value: !!settings.hideLoading,
onchange: v => {
writeSettings("hideLoading",v);
}
}
};
return mainmenu;