Skip to content

Commit

Permalink
修复
Browse files Browse the repository at this point in the history
  • Loading branch information
TC999 committed Nov 27, 2024
1 parent 6cf6f24 commit 3edc9c8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ pub struct AppDataCleaner {
selected_appdata_folder: String, // 新增字段
tx: Option<Sender<(String, u64)>>,
rx: Option<Receiver<(String, u64)>>,
is_logging_enabled: bool, // 新增字段
}

impl Default for AppDataCleaner {
Expand All @@ -29,6 +30,7 @@ impl Default for AppDataCleaner {
selected_appdata_folder: "Roaming".to_string(), // 默认值为 Roaming
tx: Some(tx),
rx: Some(rx),
is_logging_enabled: false, // 默认禁用日志
}
}
}
Expand Down

0 comments on commit 3edc9c8

Please sign in to comment.