dont remove from sqlite and border
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
abs3nt 2023-01-31 14:27:36 -08:00
parent 1fe232cb96
commit 148b93f0f8
2 changed files with 1 additions and 2 deletions

View File

@ -591,7 +591,6 @@ func RefillRadio(ctx *gctx.Context, client *spotify.Client) error {
trackGroups = []spotify.ID{}
}
trackGroups = append(trackGroups, item)
_, err = db.QueryContext(ctx, fmt.Sprintf("DELETE FROM radio WHERE id='%s'", string(item)))
if err != nil {
fmt.Println(err.Error())
return err

View File

@ -19,7 +19,7 @@ import (
var (
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
playbackContext string
main_updates chan *mainModel