From d89039c5a50be072cf8d28a5f1e0040d0c26ab9c Mon Sep 17 00:00:00 2001 From: jack Date: Wed, 19 Jul 2023 15:17:14 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20Removed=20unfinished=20code?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/gui/settings.go | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/internal/gui/settings.go b/internal/gui/settings.go index 2a94457..d671e44 100644 --- a/internal/gui/settings.go +++ b/internal/gui/settings.go @@ -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) @@ -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 }