add more resilency, performance adjustments

This commit is contained in:
Stanley Dimant
2022-09-26 14:15:11 +02:00
parent 7f97b20883
commit e40ea323e4
4 changed files with 88 additions and 37 deletions

View File

@@ -152,7 +152,7 @@ namespace MareSynchronos.UI
ImGui.Text("Scan is running");
ImGui.Text("Current Progress:");
ImGui.SameLine();
ImGui.Text(_cacheScanner.TotalFiles <= 1
ImGui.Text(_cacheScanner.TotalFiles == 1
? "Collecting files"
: $"Processing {_cacheScanner.CurrentFileProgress} / {_cacheScanner.TotalFiles} files");
}