1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-17 00:18:05 +02:00
This commit is contained in:
haowei
2019-05-22 21:34:29 +08:00
committed by Jesse Duffield
parent b60ecdaa24
commit e1f5601d4b
5 changed files with 5 additions and 5 deletions

View File

@ -18,7 +18,7 @@ type Branch struct {
Selected bool
}
// GetDisplayStrings returns the dispaly string of branch
// GetDisplayStrings returns the display string of branch
func (b *Branch) GetDisplayStrings(isFocused bool) []string {
displayName := utils.ColoredString(b.Name, b.GetColor())
if isFocused && b.Selected && b.Pushables != "" && b.Pullables != "" {