Fix #316: Add setting to show notification on track change

This commit is contained in:
Drew Weymouth
2024-01-20 14:42:22 -08:00
parent edc3ef7bfa
commit 91aa92706d
3 changed files with 40 additions and 27 deletions
+3
View File
@@ -161,6 +161,8 @@ func (s *SettingsDialog) createGeneralTab() *container.TabItem {
saveQueue := widget.NewCheckWithData("Save play queue on exit",
binding.BindBool(&s.config.Application.SavePlayQueue))
trackNotif := widget.NewCheckWithData("Show notification on track change",
binding.BindBool(&s.config.Application.ShowTrackChangeNotification))
// Scrobble settings
@@ -251,6 +253,7 @@ func (s *SettingsDialog) createGeneralTab() *container.TabItem {
),
container.NewHBox(systemTrayEnable, closeToTray),
container.NewHBox(saveQueue),
container.NewHBox(trackNotif),
s.newSectionSeparator(),
widget.NewRichText(&widget.TextSegment{Text: "Scrobbling", Style: util.BoldRichTextStyle}),