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) } )