diff --git a/pkg/gui/presentation/files.go b/pkg/gui/presentation/files.go index 81dec319a91..16d46c24ff1 100644 --- a/pkg/gui/presentation/files.go +++ b/pkg/gui/presentation/files.go @@ -168,8 +168,10 @@ func getFileLine( output += theme.DefaultTextColor.Sprint(" (submodule)") } - if lineChanges := formatLineChanges(file); showNumberOfLineChanges && lineChanges != "" { - output += " " + lineChanges + if showNumberOfLineChanges { + if lineChanges := formatLineChanges(file); lineChanges != "" { + output += " " + lineChanges + } } return output