Remove calls to RefreshConfig

This commit is contained in:
NeilClack
2026-06-27 12:57:29 -05:00
parent cc7917b549
commit 18c57c9101
2 changed files with 0 additions and 2 deletions
-1
View File
@@ -405,7 +405,6 @@ func (p *AudioOptions) ToggleAudio() {
}
config.AudioEnabled = !config.AudioEnabled
p.Context.DbPtr.Save(config)
p.Context.RefreshConfig()
p.CreateAudioStatusItem()
p.layout()
}
-1
View File
@@ -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