mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-04 17:13:46 -06:00
fix: no second file count on the checking screen
This commit is contained in:
1 parent
6a3471378e
commit
46f00f0110
11 files changed
+25
-24
No files matched your search
+3
-2
@@ -12201,8 +12201,9 @@ def _view_checking(state: TuiState, width: int, height: int) -> tuple:
|
||||
if state.manifest is None:
|
||||
lines.append(f"Getting the file list... {elapsed}")
|
||||
else:
|
||||
files = len(state.manifest.get("files", []))
|
||||
lines += [f"File list: {_plural(files, 'file')}.", _reading_line(state, elapsed)]
|
||||
# Not its count: the check counts the files it checks, which the
|
||||
# plan then gives (8179 after "File list: 8169 files").
|
||||
lines += ["File list received.", _reading_line(state, elapsed)]
|
||||
return ("Checking", _compose(state, width, height, lines, []),
|
||||
("Ctrl-C Quit", "B/Esc Back"))
|
||||
|
||||
|
||||
Reference in new issue
Block a user