From 400a989454d1f0f826ff536cb3fcacdbe6c39a55 Mon Sep 17 00:00:00 2001 From: Robin Olsen Date: Fri, 13 Feb 2026 10:16:43 +0100 Subject: [PATCH] fix typo --- pkg/task/ui/task.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/task/ui/task.go b/pkg/task/ui/task.go index 81da4e6..c416ad3 100644 --- a/pkg/task/ui/task.go +++ b/pkg/task/ui/task.go @@ -50,7 +50,7 @@ func (m TaskModel) View() string { Width(m.width).Align(lipgloss.Center). Render(m.help.View(m.keys)) - helpHeigh := lipgloss.Height(helpView) + helpHeight := lipgloss.Height(helpView) detailsText := fmt.Sprintf("Time to complete: %s | Difficulty: %s", m.TimeToComplete, m.Difficulty) details := lipgloss.NewStyle().Align(lipgloss.Center). @@ -59,7 +59,7 @@ func (m TaskModel) View() string { detailsHeight := lipgloss.Height(details) content := lipgloss.NewStyle(). - Width(m.width).Height(m.height-headerHeight-helpHeigh-detailsHeight). + Width(m.width).Height(m.height-headerHeight-helpHeight-detailsHeight). Align(lipgloss.Center, lipgloss.Center). Render(m.Description)