chore: remove notes

This commit is contained in:
huzibaca 2024-11-23 06:47:43 +08:00
parent 4163ee484c
commit f2b1b88242
No known key found for this signature in database
GPG Key ID: D4364EE4851DC302
2 changed files with 0 additions and 4 deletions

View File

@ -123,11 +123,9 @@ pub fn quit(code: Option<i32>) {
log_err!(handle::Handle::global().get_window().unwrap().close());
match app_handle.save_window_state(StateFlags::all()) {
Ok(_) => {
println!("window state saved successfully");
log::info!(target: "app", "window state saved successfully");
}
Err(e) => {
println!("failed to save window state: {}", e);
log::error!(target: "app", "failed to save window state: {}", e);
}
};

View File

@ -164,11 +164,9 @@ pub fn create_window() {
match window.restore_state(StateFlags::all()) {
Ok(_) => {
println!("window state restored successfully");
log::info!(target: "app", "window state restored successfully");
}
Err(e) => {
println!("failed to restore window state: {}", e);
log::error!(target: "app", "failed to restore window state: {}", e);
#[cfg(target_os = "windows")]
window