Skip to content

Commit

Permalink
测试
Browse files Browse the repository at this point in the history
  • Loading branch information
TC999 committed Jan 7, 2025
1 parent ccd5e07 commit 29ad67c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/ui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,11 @@ impl eframe::App for AppDataCleaner {
while let Ok((folder, size)) = rx.try_recv() {
self.folder_data.push((folder, size));
}

// 如果接收到的文件夹数据为空,表示扫描已完成
if self.folder_data.is_empty() {
self.is_scanning = false;
}
}

if self.is_scanning {
Expand Down Expand Up @@ -220,6 +225,5 @@ impl eframe::App for AppDataCleaner {

// 显示移动窗口
self.move_module.show_move_window(ctx);

}
}

0 comments on commit 29ad67c

Please sign in to comment.