fix: make DefaultDelegate satisfy ItemDelegate interface (#541)

This commit is contained in:
bashbunni
2024-07-08 12:59:40 -07:00
committed by GitHub
parent adab1903b6
commit bd3a206c13
+1 -1
View File
@@ -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
}