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 <[email protected]>
  • Loading branch information
kranurag7 authored and dlvhdr committed Feb 23, 2024
1 parent 00553d6 commit d0aace9
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 d0aace9

Please sign in to comment.