Skip to content

Commit

Permalink
🔥 Removed unfinished code
Browse files Browse the repository at this point in the history
  • Loading branch information
jackbillstrom committed Jul 19, 2023
1 parent 8203ba1 commit d89039c
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions internal/gui/settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,15 @@ func makeSettingsTab(_ fyne.Window) fyne.CanvasObject {
appSettings.CPULoadOrRAMUse = "CPU Load"

// Audio settings
showSongTitleCheck := widget.NewCheck("Show song title", func(on bool) {
appSettings.ShowSongTitle = on
})
// showSongTitleCheck := widget.NewCheck("Show song title", func(on bool) {
// appSettings.ShowSongTitle = on
// })
showEqualizerDemoCheck := widget.NewCheck("Show equalizer demo", func(on bool) {
appSettings.EqualizerDemo = on
})
// By default, show equalizer demo because it's cool :) (Not implemented yet)
showEqualizerDemoCheck.Checked = true
appSettings.EqualizerDemo = true

// TODO: Brightness slider
brightnessSlider := widget.NewSlider(0, 100)
Expand Down Expand Up @@ -133,7 +136,7 @@ func makeSettingsTab(_ fyne.Window) fyne.CanvasObject {
settingsLayout.Add(cpuLoadOrRAMUse)
} else if s == "Audio mode" {
settingsLayout.Add(showEqualizerDemoCheck)
settingsLayout.Add(showSongTitleCheck)
// settingsLayout.Add(showSongTitleCheck)
}
settingsLayout.Refresh() // Refresh the container to show updated widgets
}
Expand Down

0 comments on commit d89039c

Please sign in to comment.