on main help sign in
fix: hide info box when the initialization message is shown
commit582eeb0bbd995a4303c611a40dfcb8e85531d97b authorAndrey Nering <andreynering@users.noreply.github.com> dateThu 24 Jul 2025, 16:41 (1 year ago) parentd6d5cbc
1 file changed+2−4
internal/tui/components/chat/splash/splash.go+2−4
internal/tui/components/chat/splash/splash.go+2−4
@@ -494,9 +494,7 @@ func (s *splashCmp) View() string {
494494 })
495495
496496 buttons := lipgloss.JoinHorizontal(lipgloss.Left, yesButton, " ", noButton)
497− infoSection := s.infoSection()
498−
499− remainingHeight := s.height - lipgloss.Height(s.logoRendered) - (SplashScreenPaddingY * 2) - lipgloss.Height(infoSection)
497+ remainingHeight := s.height - lipgloss.Height(s.logoRendered) - (SplashScreenPaddingY * 2)
500498
501499 initContent := t.S().Base.AlignVertical(lipgloss.Bottom).PaddingLeft(1).Height(remainingHeight).Render(
502500 lipgloss.JoinVertical(
@@ -510,7 +508,7 @@ func (s *splashCmp) View() string {
510508 content = lipgloss.JoinVertical(
511509 lipgloss.Left,
512510 s.logoRendered,
513− infoSection,
511+ "",
514512 initContent,
515513 )
516514 } else {