From 18c57c9101bf500bfeab7d758c0041f5b16da0a8 Mon Sep 17 00:00:00 2001 From: NeilClack Date: Sat, 27 Jun 2026 12:57:29 -0500 Subject: [PATCH] Remove calls to RefreshConfig --- internal/page/AudioOptions.go | 1 - internal/page/router.go | 1 - 2 files changed, 2 deletions(-) diff --git a/internal/page/AudioOptions.go b/internal/page/AudioOptions.go index 57f233e..40da3f1 100644 --- a/internal/page/AudioOptions.go +++ b/internal/page/AudioOptions.go @@ -405,7 +405,6 @@ func (p *AudioOptions) ToggleAudio() { } config.AudioEnabled = !config.AudioEnabled p.Context.DbPtr.Save(config) - p.Context.RefreshConfig() p.CreateAudioStatusItem() p.layout() } diff --git a/internal/page/router.go b/internal/page/router.go index 75dd312..a2737b7 100644 --- a/internal/page/router.go +++ b/internal/page/router.go @@ -25,7 +25,6 @@ type PageCtx struct { DbPtr *gorm.DB W, H int32 MessageChannel chan download.DownloadStatus - RefreshConfig func() NavigateTo func(pageType) Msg string // Message to be displayed by MessagePage Inst string // Instructions to be displayed on MessagePage