~whereswaldon/sprig

4c7cedb85859ae7141c10ee0c83bdd4c1244ddc3 — Chris Waldon 5 days ago 075871a
fix: populate dock nav setting on startup
1 files changed, 1 insertions(+), 0 deletions(-)

M settings-view.go
M settings-view.go => settings-view.go +1 -0
@@ 114,6 114,7 @@ func (c *SettingsView) BecomeVisible() {
	c.ConnectionForm.SetText(c.Settings().Address())
	c.NotificationsSwitch.Value = c.Settings().NotificationsGloballyAllowed()
	c.BottomBarSwitch.Value = c.Settings().BottomAppBar()
	c.DockNavSwitch.Value = c.Settings().DockNavDrawer()
}

func (c *SettingsView) Layout(gtx layout.Context) layout.Dimensions {