Skip to content

Commit

Permalink
Prevent image preview flicker when deleting files (#1691)
Browse files Browse the repository at this point in the history
  • Loading branch information
joelim-work authored Jun 17, 2024
1 parent 7913419 commit 8d7b192
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions eval.go
Original file line number Diff line number Diff line change
Expand Up @@ -1343,7 +1343,6 @@ func (e *callExpr) eval(app *app, args []string) {
app.ui.cmdPrefix = "delete " + strconv.Itoa(len(list)) + " items? [y/N] "
}
}
app.ui.loadFile(app, true)
app.ui.loadFileInfo(app.nav)
case "clear":
if !app.nav.init {
Expand Down Expand Up @@ -1637,7 +1636,6 @@ func (e *callExpr) eval(app *app, args []string) {
app.ui.cmdAccRight = append(app.ui.cmdAccRight, []rune(extension)...)
}
}
app.ui.loadFile(app, true)
app.ui.loadFileInfo(app.nav)
case "sync":
if err := app.nav.sync(); err != nil {
Expand Down

0 comments on commit 8d7b192

Please sign in to comment.