代码警告消除和优化

This commit is contained in:
xintaofei
2026-03-09 10:05:22 +08:00
parent 2b4f00484d
commit 46b276443b
10 changed files with 64 additions and 53 deletions

View File

@@ -97,7 +97,7 @@ pub fn run() {
{
let app = window.app_handle();
if let Some(state) = app.try_state::<windows::SettingsWindowState>() {
windows::restore_windows_after_settings(&app, &state);
windows::restore_windows_after_settings(app, &state);
}
}
@@ -109,7 +109,7 @@ pub fn run() {
{
let app = window.app_handle();
if let Some(state) = app.try_state::<windows::CommitWindowState>() {
windows::restore_window_after_commit(&app, &state, &label);
windows::restore_window_after_commit(app, &state, &label);
}
}