mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 05:33:45 +08:00
chore: remove notes
This commit is contained in:
parent
18e8357b6a
commit
4a90ffe619
@ -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);
|
||||
}
|
||||
};
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user