fix scrolling in download series option menu homepage

This commit is contained in:
686udjie 2025-12-15 22:21:07 +02:00
parent 0361eb9aed
commit 6444513b4c

View file

@ -117,7 +117,7 @@ struct DownloadView: View {
totalEpisodes: filteredAndSortedAssets.count,
totalSize: filteredAndSortedAssets.reduce(0) { $0 + $1.fileSize }
)
DownloadedSection(
groups: groupedAssets,
onDelete: { asset in
@ -130,6 +130,12 @@ struct DownloadView: View {
.padding(.top, 20)
.scrollViewBottomPadding()
}
.onAppear {
UIScrollView.appearance().bounces = false
}
.onDisappear {
UIScrollView.appearance().bounces = true
}
}
}
}