Remove calls to RefreshConfig
This commit is contained in:
@@ -405,7 +405,6 @@ func (p *AudioOptions) ToggleAudio() {
|
||||
}
|
||||
config.AudioEnabled = !config.AudioEnabled
|
||||
p.Context.DbPtr.Save(config)
|
||||
p.Context.RefreshConfig()
|
||||
p.CreateAudioStatusItem()
|
||||
p.layout()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user