mirror of
https://github.com/cranci1/Sora.git
synced 2026-05-16 14:51:52 +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,
|
totalEpisodes: filteredAndSortedAssets.count,
|
||||||
totalSize: filteredAndSortedAssets.reduce(0) { $0 + $1.fileSize }
|
totalSize: filteredAndSortedAssets.reduce(0) { $0 + $1.fileSize }
|
||||||
)
|
)
|
||||||
|
|
||||||
DownloadedSection(
|
DownloadedSection(
|
||||||
groups: groupedAssets,
|
groups: groupedAssets,
|
||||||
onDelete: { asset in
|
onDelete: { asset in
|
||||||
|
|
@ -130,6 +130,12 @@ struct DownloadView: View {
|
||||||
.padding(.top, 20)
|
.padding(.top, 20)
|
||||||
.scrollViewBottomPadding()
|
.scrollViewBottomPadding()
|
||||||
}
|
}
|
||||||
|
.onAppear {
|
||||||
|
UIScrollView.appearance().bounces = false
|
||||||
|
}
|
||||||
|
.onDisappear {
|
||||||
|
UIScrollView.appearance().bounces = true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue