Merge pull request 'Remove calls to RefreshConfig' (#50) from no-text-input-for-wifi-password into dev

Reviewed-on: https://codeberg.org/RhemaWave-Technologies/RhemaWave/pulls/50
This commit is contained in:
NeilClack
2026-06-27 19:59:42 +02:00
2 changed files with 0 additions and 2 deletions
-1
View File
@@ -405,7 +405,6 @@ func (p *AudioOptions) ToggleAudio() {
} }
config.AudioEnabled = !config.AudioEnabled config.AudioEnabled = !config.AudioEnabled
p.Context.DbPtr.Save(config) p.Context.DbPtr.Save(config)
p.Context.RefreshConfig()
p.CreateAudioStatusItem() p.CreateAudioStatusItem()
p.layout() p.layout()
} }
-1
View File
@@ -25,7 +25,6 @@ type PageCtx struct {
DbPtr *gorm.DB DbPtr *gorm.DB
W, H int32 W, H int32
MessageChannel chan download.DownloadStatus MessageChannel chan download.DownloadStatus
RefreshConfig func()
NavigateTo func(pageType) NavigateTo func(pageType)
Msg string // Message to be displayed by MessagePage Msg string // Message to be displayed by MessagePage
Inst string // Instructions to be displayed on MessagePage Inst string // Instructions to be displayed on MessagePage