fix(ios): 修复 LibraryDetailPage 闭合括号错误

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
wangdl 2026-05-28 20:44:32 +08:00
parent a8bf8d229f
commit a6c5d27e62

View File

@ -189,9 +189,7 @@ struct LibraryDetailPage: View {
if viewModel.hasMore { if viewModel.hasMore {
ZXLoadMoreFooter { await viewModel.loadMore(knowledgeBaseId: knowledgeBaseId) } ZXLoadMoreFooter { await viewModel.loadMore(knowledgeBaseId: knowledgeBaseId) }
} }
}.padding(.horizontal, 20).padding(.bottom, 80) } }.padding(.horizontal, 20).padding(.bottom, 80)
.scrollIndicators(.hidden)
.zxPullToRefresh { await viewModel.refresh(knowledgeBaseId: knowledgeBaseId) }
} else { } else {
// Tab // Tab
if isLoadingSources { if isLoadingSources {
@ -227,7 +225,8 @@ struct LibraryDetailPage: View {
} }
} }
} }
}.padding(.horizontal, 20).padding(.bottom, 80) } }
.padding(.horizontal, 20).padding(.bottom, 80)
.scrollIndicators(.hidden) .scrollIndicators(.hidden)
.zxPullToRefresh { await viewModel.refresh(knowledgeBaseId: knowledgeBaseId) } .zxPullToRefresh { await viewModel.refresh(knowledgeBaseId: knowledgeBaseId) }
} }