@@ -76,7 +76,7 @@ func (s *SessionItem) Cursor() *tea.Cursor {
76// Render returns the string representation of the session item.
76// Render returns the string representation of the session item.
77func (s *SessionItem) Render(width int) string {
77func (s *SessionItem) Render(width int) string {
78 info := humanize.Time(time.Unix(s.UpdatedAt, 0))
78 info := humanize.Time(time.Unix(s.UpdatedAt, 0))
79− styles := ListIemStyles{
79+ styles := ListItemStyles{
80 ItemBlurred: s.t.Dialog.NormalItem,
80 ItemBlurred: s.t.Dialog.NormalItem,
81 ItemFocused: s.t.Dialog.SelectedItem,
81 ItemFocused: s.t.Dialog.SelectedItem,
82 InfoTextBlurred: s.t.Subtle,
82 InfoTextBlurred: s.t.Subtle,
@@ -101,14 +101,14 @@ func (s *SessionItem) Render(width int) string {
101 return renderItem(styles, s.Title, info, s.focused, width, s.cache, &s.m)
101 return renderItem(styles, s.Title, info, s.focused, width, s.cache, &s.m)
104−type ListIemStyles struct {
104+type ListItemStyles struct {
105 ItemBlurred lipgloss.Style
105 ItemBlurred lipgloss.Style
106 ItemFocused lipgloss.Style
106 ItemFocused lipgloss.Style
107 InfoTextBlurred lipgloss.Style
107 InfoTextBlurred lipgloss.Style
108 InfoTextFocused lipgloss.Style
108 InfoTextFocused lipgloss.Style
111−func renderItem(t ListIemStyles, title string, info string, focused bool, width int, cache map[int]string, m *fuzzy.Match) string {
111+func renderItem(t ListItemStyles, title string, info string, focused bool, width int, cache map[int]string, m *fuzzy.Match) string {
112 if cache == nil {
112 if cache == nil {
113 cache = make(map[int]string)
113 cache = make(map[int]string)