~whereswaldon/sprig

80aeef66aa01e727bc055d8f422f56ad3a604746 — Chris Waldon 5 days ago 4c7cedb v0.0.11-rc2
fix: prevent newlines in relay address
2 files changed, 4 insertions(+), 0 deletions(-)

M connect-form-view.go
M settings-view.go
M connect-form-view.go => connect-form-view.go +2 -0
@@ 23,6 23,8 @@ func NewConnectFormView(app core.App) View {
	c := &ConnectFormView{
		App: app,
	}
	c.Form.Editor.SingleLine = true
	c.Form.Editor.Submit = true
	return c
}


M settings-view.go => settings-view.go +2 -0
@@ 41,6 41,8 @@ func NewCommunityMenuView(app core.App) View {
	}
	c.List.Axis = layout.Vertical
	c.ConnectionForm.SetText(c.Settings().Address())
	c.ConnectionForm.Editor.SingleLine = true
	c.ConnectionForm.Editor.Submit = true
	return c
}