From fcc29ee8db6c9856a9c9ff89ff3ec7da92511cd8 Mon Sep 17 00:00:00 2001 From: jihyeonjjang Date: Thu, 6 Nov 2025 10:44:30 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=8C=80=EC=8B=9C=EB=B3=B4=EB=93=9C=20?= =?UTF-8?q?=EC=BB=A4=EB=AE=A4=EB=8B=88=ED=8B=B0=20=EB=B6=84=EC=9C=84?= =?UTF-8?q?=EA=B8=B0=20-=20AI=20generate=20=EB=AC=B8=EA=B5=AC=EC=99=80=20?= =?UTF-8?q?=EC=BB=A8=ED=85=90=EC=B8=A0=20=EB=82=B4=EC=9A=A9=EC=97=90=20?= =?UTF-8?q?=EC=83=9D=EA=B8=B0=EB=8A=94=20=EC=97=AC=EB=B0=B1=20=ED=95=B4?= =?UTF-8?q?=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AIProject/iCo/Features/Base/ReportSectionView.swift | 10 +++++++++- .../iCo/Features/Dashboard/View/AIBriefingView.swift | 5 ----- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/AIProject/iCo/Features/Base/ReportSectionView.swift b/AIProject/iCo/Features/Base/ReportSectionView.swift index 202eecd9..a431285f 100644 --- a/AIProject/iCo/Features/Base/ReportSectionView.swift +++ b/AIProject/iCo/Features/Base/ReportSectionView.swift @@ -65,7 +65,7 @@ struct ReportSectionView: View { } var body: some View { - VStack(alignment: .leading, spacing: 16) { + VStack(alignment: .leading, spacing: 8) { // Header HStack { Image(systemName: data.icon) @@ -91,6 +91,13 @@ struct ReportSectionView: View { data.onCancel() } case .success(let value): + if !(Trailing.self == EmptyView.self) { + Text(String.aiGeneratedContentNotice) + .font(.ico11) + .foregroundStyle(.iCoNeutral) + .lineSpacing(5) + } + content(value) .font(.ico14) .foregroundStyle(.iCoLabel) @@ -102,6 +109,7 @@ struct ReportSectionView: View { TimestampWithRefreshButtonView(timestamp: ts) { data.onRetry() } + .padding(.top, 2) } case .cancel(let error): DefaultProgressView(status: .cancel, message: error.localizedDescription) { diff --git a/AIProject/iCo/Features/Dashboard/View/AIBriefingView.swift b/AIProject/iCo/Features/Dashboard/View/AIBriefingView.swift index ce0f7e36..d1e03feb 100644 --- a/AIProject/iCo/Features/Dashboard/View/AIBriefingView.swift +++ b/AIProject/iCo/Features/Dashboard/View/AIBriefingView.swift @@ -65,11 +65,6 @@ struct AIBriefingView: View { .foregroundStyle($0.sentiment.color(for: themeManager.selectedTheme)) }, content: { - Text(String.aiGeneratedContentNotice) - .font(.ico11) - .foregroundStyle(.iCoNeutral) - .lineSpacing(5) - Text($0.summary.byCharWrapping) } )