Skip to content

Commit 817cd6f

Browse files
committed
fix: build error
1 parent c55ac1d commit 817cd6f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src-tauri/src/app/setup.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,14 @@ pub fn init(app: &mut App) -> std::result::Result<(), Box<dyn std::error::Error>
6262
.inner_size(800.0, 600.0)
6363
.theme(theme)
6464
.always_on_top(chat_conf.stay_on_top)
65-
.title_bar_style(ChatConfJson::titlebar())
6665
.initialization_script(&utils::user_script())
6766
.initialization_script(include_str!("../scripts/core.js"))
6867
.user_agent(&chat_conf.ua_window);
6968

7069
if cfg!(target_os = "macos") {
71-
main_win = main_win.hidden_title(true);
70+
main_win = main_win
71+
.title_bar_style(ChatConfJson::titlebar())
72+
.hidden_title(true);
7273
}
7374

7475
if url == "https://chat.openai.com" && !chat_conf.main_dashboard {

0 commit comments

Comments
 (0)