iOS: reduce bottom padding in full player to occupy all space
- Reduced bottom padding from 24pt to 8pt on bottom toolbar - Reduced spacer above toolbar from 24pt to 16pt - Added .ignoresSafeArea(edges: .bottom) to VStack to extend to screen bottom - Player now uses full screen height without excess bottom padding
This commit is contained in:
@@ -498,7 +498,7 @@ struct FullPlayerView: View {
|
|||||||
.padding(.horizontal, 20)
|
.padding(.horizontal, 20)
|
||||||
.padding(.top, 32)
|
.padding(.top, 32)
|
||||||
|
|
||||||
Spacer(minLength: 24)
|
Spacer(minLength: 16)
|
||||||
|
|
||||||
// Bottom toolbar
|
// Bottom toolbar
|
||||||
HStack(spacing: 0) {
|
HStack(spacing: 0) {
|
||||||
@@ -572,8 +572,9 @@ struct FullPlayerView: View {
|
|||||||
.buttonStyle(.plain)
|
.buttonStyle(.plain)
|
||||||
}
|
}
|
||||||
.padding(.horizontal, 16)
|
.padding(.horizontal, 16)
|
||||||
.padding(.bottom, 24)
|
.padding(.bottom, 8)
|
||||||
}
|
}
|
||||||
|
.ignoresSafeArea(edges: .bottom)
|
||||||
}
|
}
|
||||||
.sheet(isPresented: $showingChaptersList) {
|
.sheet(isPresented: $showingChaptersList) {
|
||||||
ChaptersListSheet(
|
ChaptersListSheet(
|
||||||
|
|||||||
Reference in New Issue
Block a user