Compact mini player only with inline tab bar
This commit is contained in:
1 parent
5fedbf2f58
commit
4db0f2f8ff
6 files changed
+1
-27
No files matched your search
@@ -204,13 +204,6 @@ struct AlbumDetailView: View {
|
||||
.refreshable {
|
||||
await viewModel.load(forceRefresh: true)
|
||||
}
|
||||
.onScrollGeometryChange(for: CGFloat.self) { geometry in
|
||||
geometry.contentOffset.y
|
||||
} action: { previousOffset, currentOffset in
|
||||
if currentOffset > previousOffset + 2 {
|
||||
player.compactMiniPlayerForDownwardScroll()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private func albumHeader(_ album: Album) -> some View {
|
||||
|
||||
Reference in new issue
Block a user