From bd3a206c13c4f6261f666d3acc83436c0990492e Mon Sep 17 00:00:00 2001 From: bashbunni <15822994+bashbunni@users.noreply.github.com> Date: Mon, 8 Jul 2024 19:59:40 +0000 Subject: [PATCH] fix: make DefaultDelegate satisfy ItemDelegate interface (#541) --- list/defaultitem.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/list/defaultitem.go b/list/defaultitem.go index 45836c8..ea607f6 100644 --- a/list/defaultitem.go +++ b/list/defaultitem.go @@ -127,7 +127,7 @@ func (d DefaultDelegate) Spacing() int { } // Update checks whether the delegate's UpdateFunc is set and calls it. -func (d DefaultDelegate) Update(msg tea.Msg, m *Model) tea.Cmd { +func (d DefaultDelegate) Update(ctx tea.Context, msg tea.Msg, m *Model) tea.Cmd { if d.UpdateFunc == nil { return nil }