Skip to content

Commit

Permalink
Show help resource dynamically
Browse files Browse the repository at this point in the history
  • Loading branch information
RamanaReddy0M committed Feb 3, 2023
1 parent 168a78f commit c3dab2f
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions internal/view/help.go
Expand Up @@ -32,14 +32,7 @@ type Help struct {
func NewHelp(app *App) *Help {
return &Help{
Table: NewTable("help"),
//hints: app.Content.Top().Hints
hints: func() model.MenuHints {
return model.MenuHints{
model.MenuHint{Mnemonic: "3", Description: "Bob"},
model.MenuHint{Mnemonic: "2", Description: "Abby"},
model.MenuHint{Mnemonic: "1", Description: "Chris"},
}
},
hints: app.Content.Top().Hints,
}
}

Expand Down

0 comments on commit c3dab2f

Please sign in to comment.