1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Merge in app.Draw() changes

This commit is contained in:
Chris Cummer
2018-09-24 15:11:35 -07:00
43 changed files with 172 additions and 130 deletions

View File

@@ -11,7 +11,7 @@ import (
)
const HelpText = `
To control Spotify use:
To control Spotify use:
[Spacebar] for Play & Pause
[h] for Previous Song
[l] for Next Song
@@ -28,7 +28,7 @@ func NewWidget(app *tview.Application, pages *tview.Pages) *Widget {
spotifyClient := spotigopher.NewClient()
widget := Widget{
HelpfulWidget: wtf.NewHelpfulWidget(app, pages, HelpText),
TextWidget: wtf.NewTextWidget("Spotify", "spotify", true),
TextWidget: wtf.NewTextWidget(app, "Spotify", "spotify", true),
SpotifyClient: spotifyClient,
Info: spotigopher.Info{},
}