Skip to content

Commit

Permalink
fix(ui): 🐛 store/fetch mqtt preferences from context
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuar committed Jan 25, 2025
1 parent e38c259 commit a20f509
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/agent/ui/fyneUI/fyneUI.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,7 @@ func (i *FyneUI) agentSettingsWindow(ctx context.Context) fyne.Window {
return nil
}

mqttPrefs := preferences.MQTTPrefsFromFromCtx(ctx)

mqttPrefs := preferences.MQTTPrefsFromFromCtx(preferences.MQTTPrefsToCtx(ctx))
// Generate a form of MQTT preferences.
allFormItems = append(allFormItems, mqttConfigItems(mqttPrefs)...)

Expand Down

0 comments on commit a20f509

Please sign in to comment.