diff options
Diffstat (limited to 'src/header.go')
-rw-r--r-- | src/header.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/header.go b/src/header.go index e7b7eea..961e5b0 100644 --- a/src/header.go +++ b/src/header.go | |||
@@ -24,7 +24,7 @@ func (a *app) buildHeader() tview.Primitive { | |||
24 | a.switchToPage(hl) | 24 | a.switchToPage(hl) |
25 | } | 25 | } |
26 | }) | 26 | }) |
27 | fmt.Fprintf(a.headerSections, `["artists"]F1: Artists[""] | ["playlists"]F2: Playlists[""] | ["config"]F3: Configuration[""]`) | 27 | fmt.Fprintf(a.headerSections, `["artists"]F1: Artists[""] | ["playqueue"]F2: Queue[""] | ["playlists"]F3: Playlists[""] | ["config"]F4: Configuration[""]`) |
28 | 28 | ||
29 | a.headerNowPlaying = tview.NewTextView().SetTextAlign(tview.AlignRight) | 29 | a.headerNowPlaying = tview.NewTextView().SetTextAlign(tview.AlignRight) |
30 | 30 | ||
@@ -42,6 +42,8 @@ func (a *app) buildHeader() tview.Primitive { | |||
42 | a.headerNowPlaying.SetText("Not playing") | 42 | a.headerNowPlaying.SetText("Not playing") |
43 | } | 43 | } |
44 | 44 | ||
45 | a.updatePageQueue() | ||
46 | |||
45 | // Fix "Now Playing" not always updating | 47 | // Fix "Now Playing" not always updating |
46 | go a.tv.Draw() | 48 | go a.tv.Draw() |
47 | }) | 49 | }) |