blob: 7240b0fa24788139465d1c28c1557c39e678c76c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
package src
func (a *app) updateFooter() {
switch a.headerSections.GetHighlights()[0] {
case "artists":
a.footer.SetText("[blue]l:[yellow] Next song [blue]k:[yellow] Toggle pause")
case "playqueue":
a.footer.SetText("[blue]l:[yellow] Next song [blue]k:[yellow] Toggle pause")
case "playlists":
a.footer.SetText("Come back later!")
case "config":
a.footer.SetText("Configuration page")
}
}
|