minor refactor

This commit is contained in:
Jesse Duffield 2020-08-23 09:46:28 +10:00
parent ed85ea69bd
commit 0dd2c869a8
15 changed files with 49 additions and 37 deletions

View file

@ -32,7 +32,7 @@ func (gui *Gui) handleCommitFileSelect() error {
)
task := gui.createRunPtyTask(cmd)
return gui.refreshMain(refreshMainOpts{
return gui.refreshMainViews(refreshMainOpts{
main: &viewUpdateOpts{
title: "Patch",
task: task,