mirror of
https://github.com/cranci1/Sora.git
synced 2026-01-11 20:10:24 +00:00
fix scrolling in download series option menu homepage
This commit is contained in:
parent
0361eb9aed
commit
6444513b4c
1 changed files with 7 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue