diff --git a/internal/steps/octopus_destination_details.go b/internal/steps/octopus_destination_details.go index d51deb1..af75fc9 100644 --- a/internal/steps/octopus_destination_details.go +++ b/internal/steps/octopus_destination_details.go @@ -33,7 +33,7 @@ func (s OctopusDestinationDetails) GetContainer(parent fyne.Window) *fyne.Contai s.result.SetText("🔵 Validating Octopus credentials.") s.apiKey.Disable() s.server.Disable() - s.spaceId.Disabled() + s.spaceId.Disable() defer s.apiKey.Enable() defer s.server.Enable() defer s.spaceId.Enable() @@ -62,7 +62,7 @@ func (s OctopusDestinationDetails) GetContainer(parent fyne.Window) *fyne.Contai s.result = widget.NewLabel("") validation := func(input string) { - next.Disabled() + next.Disable() if s.server != nil && s.server.Text != "" && s.apiKey != nil && s.apiKey.Text != "" && s.spaceId != nil && s.spaceId.Text != "" { return diff --git a/internal/steps/octopus_details.go b/internal/steps/octopus_details.go index dacba53..e15aa19 100644 --- a/internal/steps/octopus_details.go +++ b/internal/steps/octopus_details.go @@ -32,7 +32,7 @@ func (s OctopusDetails) GetContainer(parent fyne.Window) *fyne.Container { s.result.SetText("🔵 Validating Octopus credentials.") s.apiKey.Disable() s.server.Disable() - s.spaceId.Disabled() + s.spaceId.Disable() defer s.apiKey.Enable() defer s.server.Enable() defer s.spaceId.Enable() @@ -61,7 +61,7 @@ func (s OctopusDetails) GetContainer(parent fyne.Window) *fyne.Container { s.result = widget.NewLabel("") validation := func(input string) { - next.Disabled() + next.Disable() if s.server != nil && s.server.Text != "" && s.apiKey != nil && s.apiKey.Text != "" && s.spaceId != nil && s.spaceId.Text != "" { return