From a6c5d27e62f29093ac825e2c3541e7ce9db1f238 Mon Sep 17 00:00:00 2001 From: wangdl Date: Thu, 28 May 2026 20:44:32 +0800 Subject: [PATCH] =?UTF-8?q?fix(ios):=20=E4=BF=AE=E5=A4=8D=20LibraryDetailP?= =?UTF-8?q?age=20=E9=97=AD=E5=90=88=E6=8B=AC=E5=8F=B7=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.7 --- .../AIStudyApp/Features/Library/LibrarySubpages.swift | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/AIStudyApp/AIStudyApp/Features/Library/LibrarySubpages.swift b/AIStudyApp/AIStudyApp/Features/Library/LibrarySubpages.swift index 9a5021d..3ab5bb0 100644 --- a/AIStudyApp/AIStudyApp/Features/Library/LibrarySubpages.swift +++ b/AIStudyApp/AIStudyApp/Features/Library/LibrarySubpages.swift @@ -189,9 +189,7 @@ struct LibraryDetailPage: View { if viewModel.hasMore { ZXLoadMoreFooter { await viewModel.loadMore(knowledgeBaseId: knowledgeBaseId) } } - }.padding(.horizontal, 20).padding(.bottom, 80) } - .scrollIndicators(.hidden) - .zxPullToRefresh { await viewModel.refresh(knowledgeBaseId: knowledgeBaseId) } + }.padding(.horizontal, 20).padding(.bottom, 80) } else { // 资料来源 Tab if isLoadingSources { @@ -227,7 +225,8 @@ struct LibraryDetailPage: View { } } } - }.padding(.horizontal, 20).padding(.bottom, 80) } + } + .padding(.horizontal, 20).padding(.bottom, 80) .scrollIndicators(.hidden) .zxPullToRefresh { await viewModel.refresh(knowledgeBaseId: knowledgeBaseId) } }