From 7f158ed030d7429b9170a8da8bdcdb5bd6a63918 Mon Sep 17 00:00:00 2001 From: Drew Weymouth Date: Sat, 27 Apr 2024 07:52:10 -0700 Subject: [PATCH] add another menu separator to tracklist ctx menu --- ui/widgets/tracklist.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/widgets/tracklist.go b/ui/widgets/tracklist.go index 8922e40..0d9dc2e 100644 --- a/ui/widgets/tracklist.go +++ b/ui/widgets/tracklist.go @@ -573,7 +573,8 @@ func (t *Tracklist) onShowContextMenu(e *fyne.PointEvent, trackIdx int) { t.onSetFavorites(t.selectedTracks(), false, true) }) unfavorite.Icon = myTheme.NotFavoriteIcon - t.ctxMenu.Items = append(t.ctxMenu.Items, playlist, download) + t.ctxMenu.Items = append(t.ctxMenu.Items, fyne.NewMenuItemSeparator(), + playlist, download) t.shareMenuItem = fyne.NewMenuItem("Share...", func() { t.onShare(t.selectedTracks()) })