dont remove from sqlite and border
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
1fe232cb96
commit
148b93f0f8
@ -591,7 +591,6 @@ func RefillRadio(ctx *gctx.Context, client *spotify.Client) error {
|
|||||||
trackGroups = []spotify.ID{}
|
trackGroups = []spotify.ID{}
|
||||||
}
|
}
|
||||||
trackGroups = append(trackGroups, item)
|
trackGroups = append(trackGroups, item)
|
||||||
_, err = db.QueryContext(ctx, fmt.Sprintf("DELETE FROM radio WHERE id='%s'", string(item)))
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Println(err.Error())
|
fmt.Println(err.Error())
|
||||||
return err
|
return err
|
||||||
|
@ -19,7 +19,7 @@ import (
|
|||||||
|
|
||||||
var (
|
var (
|
||||||
P *tea.Program
|
P *tea.Program
|
||||||
DocStyle = lipgloss.NewStyle().Margin(0, 2)
|
DocStyle = lipgloss.NewStyle().Margin(0, 2).Border(lipgloss.DoubleBorder(), true, true, true, true)
|
||||||
currentlyPlaying *spotify.CurrentlyPlaying
|
currentlyPlaying *spotify.CurrentlyPlaying
|
||||||
playbackContext string
|
playbackContext string
|
||||||
main_updates chan *mainModel
|
main_updates chan *mainModel
|
||||||
|
Loading…
Reference in New Issue
Block a user