on main help sign in
fix(ui): typo in ListItemStyles type name

๐Ÿ’˜ Generated with Crush Assisted-by: Kimi K2.5 via Crush <crush@charm.land>

commitac03cb02b28265074bbd001291b793633f822395 authorChristian Rocha <christian@rocha.is> dateWed 28 Jan 2026, 15:57 (9 months ago) parent4228f75
4 files changed+6โˆ’6
internal/ui/dialog/commands_item.go+1โˆ’1 internal/ui/dialog/models_item.go+1โˆ’1 internal/ui/dialog/reasoning.go+1โˆ’1 internal/ui/dialog/sessions_item.go+3โˆ’3
internal/ui/dialog/commands_item.go+1โˆ’1
@@ -66,7 +66,7 @@ func (c *CommandItem) Shortcut() string {
6666
6767// Render implements ListItem.
6868func (c *CommandItem) Render(width int) string {
69โˆ’ styles := ListIemStyles{
69+ styles := ListItemStyles{
7070 ItemBlurred: c.t.Dialog.NormalItem,
7171 ItemFocused: c.t.Dialog.SelectedItem,
7272 InfoTextBlurred: c.t.Base,
internal/ui/dialog/models_item.go+1โˆ’1
@@ -106,7 +106,7 @@ func (m *ModelItem) Render(width int) string {
106106 if m.showProvider {
107107 providerInfo = string(m.prov.Name)
108108 }
109โˆ’ styles := ListIemStyles{
109+ styles := ListItemStyles{
110110 ItemBlurred: m.t.Dialog.NormalItem,
111111 ItemFocused: m.t.Dialog.SelectedItem,
112112 InfoTextBlurred: m.t.Base,
internal/ui/dialog/reasoning.go+1โˆ’1
@@ -293,7 +293,7 @@ func (r *ReasoningItem) Render(width int) string {
293293 if r.isCurrent {
294294 info = "current"
295295 }
296โˆ’ styles := ListIemStyles{
296+ styles := ListItemStyles{
297297 ItemBlurred: r.t.Dialog.NormalItem,
298298 ItemFocused: r.t.Dialog.SelectedItem,
299299 InfoTextBlurred: r.t.Base,
internal/ui/dialog/sessions_item.go+3โˆ’3
@@ -76,7 +76,7 @@ func (s *SessionItem) Cursor() *tea.Cursor {
7676// Render returns the string representation of the session item.
7777func (s *SessionItem) Render(width int) string {
7878 info := humanize.Time(time.Unix(s.UpdatedAt, 0))
79โˆ’ styles := ListIemStyles{
79+ styles := ListItemStyles{
8080 ItemBlurred: s.t.Dialog.NormalItem,
8181 ItemFocused: s.t.Dialog.SelectedItem,
8282 InfoTextBlurred: s.t.Subtle,
@@ -101,14 +101,14 @@ func (s *SessionItem) Render(width int) string {
101101 return renderItem(styles, s.Title, info, s.focused, width, s.cache, &s.m)
102102}
103103
104โˆ’type ListIemStyles struct {
104+type ListItemStyles struct {
105105 ItemBlurred lipgloss.Style
106106 ItemFocused lipgloss.Style
107107 InfoTextBlurred lipgloss.Style
108108 InfoTextFocused lipgloss.Style
109109}
110110
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 {
112112 if cache == nil {
113113 cache = make(map[int]string)
114114 }