From 9e64d068c1ab7652e4c87dd94f4115546dfde6df Mon Sep 17 00:00:00 2001 From: hems Date: Sun, 13 Jul 2025 05:31:14 +0100 Subject: [PATCH] fix: remove duplicate URL display in fetch permission popup content area MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The URL was being displayed twice - once in the header (correctly formatted) and once in the gray content box below. Removed the content area display since the header already shows the URL in a clean, consistent format. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .../tui/components/dialogs/permissions/permissions.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/internal/tui/components/dialogs/permissions/permissions.go b/internal/tui/components/dialogs/permissions/permissions.go index 9ba737a596a3fd62efe9400aaf3be687e376ddc8..ba5ea132c4902cd7f93e1c86895c1594e975553c 100644 --- a/internal/tui/components/dialogs/permissions/permissions.go +++ b/internal/tui/components/dialogs/permissions/permissions.go @@ -409,15 +409,6 @@ func (p *permissionDialogCmp) generateWriteContent() string { } func (p *permissionDialogCmp) generateFetchContent() string { - t := styles.CurrentTheme() - baseStyle := t.S().Base.Background(t.BgSubtle) - if pr, ok := p.permission.Params.(tools.FetchPermissionsParams); ok { - finalContent := baseStyle. - Padding(1, 2). - Width(p.contentViewPort.Width()). - Render(pr.URL) - return finalContent - } return "" }