From 787d4ac0f14af55196a69c49780d8fcd194c8ab3 Mon Sep 17 00:00:00 2001 From: Hadi Date: Tue, 5 May 2026 09:42:34 +0200 Subject: [PATCH] fmt Signed-off-by: Hadi --- internal/ui/delegate.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/ui/delegate.go b/internal/ui/delegate.go index 1ac50ba..be26425 100644 --- a/internal/ui/delegate.go +++ b/internal/ui/delegate.go @@ -14,8 +14,8 @@ import ( // deviceDelegate renders device list items with status colors. type deviceDelegate struct{} -func (d deviceDelegate) Height() int { return 2 } -func (d deviceDelegate) Spacing() int { return 0 } +func (d deviceDelegate) Height() int { return 2 } +func (d deviceDelegate) Spacing() int { return 0 } func (d deviceDelegate) Update(_ tea.Msg, _ *list.Model) tea.Cmd { return nil } func (d deviceDelegate) Render(w io.Writer, m list.Model, index int, item list.Item) { @@ -84,8 +84,8 @@ func (a actionItem) FilterValue() string { return a.label } // actionDelegate renders single-line action items. type actionDelegate struct{} -func (d actionDelegate) Height() int { return 1 } -func (d actionDelegate) Spacing() int { return 0 } +func (d actionDelegate) Height() int { return 1 } +func (d actionDelegate) Spacing() int { return 0 } func (d actionDelegate) Update(_ tea.Msg, _ *list.Model) tea.Cmd { return nil } func (d actionDelegate) Render(w io.Writer, m list.Model, index int, item list.Item) {