This commit is contained in:
jjohnstondev 2023-01-15 04:48:12 -08:00
parent 98a9b9c091
commit b0769a9612
1 changed files with 1 additions and 0 deletions

View File

@ -537,6 +537,7 @@ func (m mainModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
}
func InitMain(ctx *gctx.Context, client *spotify.Client, mode Mode) (tea.Model, error) {
lipgloss.SetColorProfile(2)
playing, _ := client.PlayerCurrentlyPlaying(ctx)
if playing.Playing {
currentlyPlaying = "Now playing " + playing.Item.Name + " by " + playing.Item.Artists[0].Name