feat: apply loading message delay for directories (#2410)

* refactor preview timer

* add preview timer for directory

* adjust times

* typo

* create constant for preview loading delay

* Update `CHANGELOG.md`
This commit is contained in:
Joe Lim authored and GitHub committed 2026-03-04 18:03:26 +11:00
1 parent 6ec60cf9d8
commit fd2babd72e
4 files changed
+25 -22

No files matched your search

-1
View File
@@ -509,7 +509,6 @@ func (app *app) loop() {
app.nav.renew()
app.ui.loadFile(app, false)
case <-app.nav.previewTimer.C:
app.nav.previewLoading = true
app.ui.draw(app.nav)
case <-app.nav.preloadTimer.C:
app.nav.preload()