[Splash > UI] Add current/total to text
This commit is contained in:
parent
3509654ea9
commit
5bf4a8a0bd
1 changed files with 1 additions and 0 deletions
|
@ -71,6 +71,7 @@
|
|||
console.log('onStateUpdate', progress);
|
||||
|
||||
text.textContent = status.replaceAll('-', ' ');
|
||||
if (current) text.textContent += ` (${current}/${total})`;
|
||||
|
||||
if (progress) {
|
||||
barContainer.style.display = 'block';
|
||||
|
|
Loading…
Reference in a new issue