diff options
Diffstat (limited to 'pkg/gui/list_context_config.go')
-rw-r--r-- | pkg/gui/list_context_config.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/list_context_config.go b/pkg/gui/list_context_config.go index 397e38bd9..89e1461b8 100644 --- a/pkg/gui/list_context_config.go +++ b/pkg/gui/list_context_config.go @@ -230,7 +230,7 @@ func (gui *Gui) commitFilesListContext() *context.CommitFilesContext { func() []*models.CommitFile { return gui.State.Model.CommitFiles }, gui.Views.CommitFiles, func(startIdx int, length int) [][]string { - if gui.State.Contexts.CommitFiles.CommitFileTreeViewModel.GetItemsLength() == 0 { + if gui.State.Contexts.CommitFiles.CommitFileTreeViewModel.Len() == 0 { return [][]string{{style.FgRed.Sprint("(none)")}} } |