mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-30 03:23:08 +03:00
Add ErrorToast function
This commit is contained in:
@ -517,7 +517,7 @@ func NewGui(
|
||||
func(message string, f func() error) {
|
||||
gui.helpers.AppStatus.WithWaitingStatusSync(message, f)
|
||||
},
|
||||
func(message string) { gui.helpers.AppStatus.Toast(message) },
|
||||
func(message string, kind types.ToastKind) { gui.helpers.AppStatus.Toast(message, kind) },
|
||||
func() string { return gui.Views.Confirmation.TextArea.GetContent() },
|
||||
func() bool { return gui.c.InDemo() },
|
||||
)
|
||||
|
Reference in New Issue
Block a user