Add splash screen toggle (#2568)

Add preferences option to toggle splash screen
This commit is contained in:
Ocraftyone
2023-11-01 04:47:14 -04:00
committed by GitHub
parent 261393b649
commit 06f966e43a
3 changed files with 9 additions and 2 deletions

View File

@@ -2427,8 +2427,7 @@ bool GUI_App::on_init_inner()
}
BBLSplashScreen * scrn = nullptr;
const bool show_splash_screen = true;
if (show_splash_screen) {
if (app_config->get("show_splash_screen") == "true") {
// make a bitmap with dark grey banner on the left side
//BBS make BBL splash screen bitmap
wxBitmap bmp = BBLSplashScreen::MakeBitmap();