Fix copy progress bug when copying files with 0 size (#2130)

* Fix copy progress when copying files with 0 size

* typo

* Update `CHANGELOG.md`
This commit is contained in:
Joe Lim authored and GitHub committed 2025-09-04 14:44:29 +10:00
1 parent f26b30be18
commit d079cc8719
3 files changed
+15 -9

No files matched your search

+2 -2
View File
@@ -340,8 +340,8 @@ func (app *app) loop() {
log.Print("bye!")
return
case <-app.nav.copyJobsChan:
app.nav.copyJobs += 1
case n := <-app.nav.copyJobsChan:
app.nav.copyJobs += n
app.ui.draw(app.nav)
case n := <-app.nav.copyBytesChan:
app.nav.copyBytes += n