diff options
author | Moritz Haase <Moritz.Haase@bmw.de> | 2022-03-30 08:48:29 +0200 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2022-03-30 20:13:43 +1100 |
commit | 8fb2acc2244ae0364fa20288bfcf70deed3ae974 (patch) | |
tree | 02c132565c7b87bf54f895fbc0d815efce867cd1 /pkg/gui/controllers/bisect_controller.go | |
parent | f2fb6453a13d7e609bb8456843e208e8e3e7901a (diff) |
pkg/gui: Rename IPopupHandler::Ask() to Confirm()
Follow the JavaScript naming scheme for user interaction (alert, prompt,
confirm) as discussed in #1832.
Diffstat (limited to 'pkg/gui/controllers/bisect_controller.go')
-rw-r--r-- | pkg/gui/controllers/bisect_controller.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/controllers/bisect_controller.go b/pkg/gui/controllers/bisect_controller.go index 67975f129..168076135 100644 --- a/pkg/gui/controllers/bisect_controller.go +++ b/pkg/gui/controllers/bisect_controller.go @@ -168,7 +168,7 @@ func (self *BisectController) showBisectCompleteMessage(candidateShas []string) return self.c.Error(err) } - return self.c.Ask(types.AskOpts{ + return self.c.Confirm(types.ConfirmOpts{ Title: self.c.Tr.Bisect.CompleteTitle, Prompt: fmt.Sprintf(prompt, strings.TrimSpace(formattedCommits)), HandleConfirm: func() error { |