fix: start fullscreen issues

This commit is contained in:
neoapps-dev
2026-06-07 23:33:30 +03:00
parent 495e82e8d6
commit 8bf6116b05
2 changed files with 4 additions and 7 deletions

View File

@@ -99,7 +99,7 @@ pub fn run() {
.setup(|app| {
let app_handle = app.handle().clone();
let config = config::load_config_raw(app_handle.clone());
if config.start_fullscreen.unwrap_or(true) {
if config.start_fullscreen.unwrap_or(false) {
if let Some(window) = app_handle.get_webview_window("main") {
let _ = window.set_fullscreen(true);
}