From 6f4e1601b8cd241a35600dd2827f0f8847d435ca Mon Sep 17 00:00:00 2001 From: Ayman Bagabas Date: Fri, 29 Apr 2022 16:06:16 -0400 Subject: [PATCH] fix: url style --- ui/pages/repo/repo.go | 1 + ui/pages/selection/selection.go | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/pages/repo/repo.go b/ui/pages/repo/repo.go index 5728f7a687753850548fc88670b998c88d222bfc..0957c4023f6c1958623fc0911dca86383995894c 100644 --- a/ui/pages/repo/repo.go +++ b/ui/pages/repo/repo.go @@ -280,6 +280,7 @@ func (r *Repo) headerView() string { // TODO move this into a style. url = lipgloss.NewStyle(). MarginLeft(1). + Foreground(lipgloss.Color("168")). Width(r.common.Width - lipgloss.Width(name) - 1). Align(lipgloss.Right). Render(url) diff --git a/ui/pages/selection/selection.go b/ui/pages/selection/selection.go index 6d40c7de61b34ff87bd92545d492eab30957cef8..ef910180e73d28bf153e2563b1fb66efd84552b0 100644 --- a/ui/pages/selection/selection.go +++ b/ui/pages/selection/selection.go @@ -230,7 +230,6 @@ func (s *Selection) Update(msg tea.Msg) (tea.Model, tea.Cmd) { case key.Matches(msg, s.common.KeyMap.Section): s.activeBox = (s.activeBox + 1) % 2 case key.Matches(msg, s.common.KeyMap.Back): - s.selector.Select(0) cmds = append(cmds, s.selector.Init()) } }