Skip to content

Commit

Permalink
update footer to include username
Browse files Browse the repository at this point in the history
Signed-off-by: kranurag7 <81210977+kranurag7@users.noreply.github.com>
  • Loading branch information
kranurag7 committed Feb 19, 2024
1 parent bf3764c commit 81330c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ui/components/footer/footer.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,11 @@ func (m *Model) UpdateProgramContext(ctx *context.ProgramContext) {
}

func (m *Model) renderViewSwitcher(ctx context.ProgramContext) string {
view := ""
view := m.ctx.User
if ctx.View == config.PRsView {
view = " PRs"
view += " |  PRs"
} else {
view = " Issues"
view += " |  Issues"
}

return ctx.Styles.Tabs.ViewSwitcher.Copy().
Expand Down

0 comments on commit 81330c3

Please sign in to comment.