[ENG-1535] Fix MacOS window title showing (#1936)

set the title bar to the non-fullscreen style on first launch
This commit is contained in:
jake 2024-01-12 23:33:11 +00:00 committed by GitHub
parent e027bba001
commit 6f531f8d5e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -286,7 +286,7 @@ async fn main() -> tauri::Result<()> {
let nswindow = window.ns_window().unwrap();
unsafe { set_titlebar_style(&nswindow, true) };
unsafe { set_titlebar_style(&nswindow, false) };
unsafe { blur_window_background(&nswindow) };
tokio::spawn({