summaryrefslogtreecommitdiffstats
path: root/pkg/gui/context/remote_branches_context.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/gui/context/remote_branches_context.go')
-rw-r--r--pkg/gui/context/remote_branches_context.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/gui/context/remote_branches_context.go b/pkg/gui/context/remote_branches_context.go
index 884d3debb..9de792f27 100644
--- a/pkg/gui/context/remote_branches_context.go
+++ b/pkg/gui/context/remote_branches_context.go
@@ -26,6 +26,7 @@ func NewRemoteBranchesContext(
func(remoteBranch *models.RemoteBranch) []string {
return []string{remoteBranch.Name}
},
+ func() bool { return c.AppState.RemoteBranchSortOrder != "alphabetical" },
)
getDisplayStrings := func(_ int, _ int) [][]string {