mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Remove NavigationView so iPad aligns to top of sheet
Also animate the miniplayer away so its not visible on ipad when open in landscape mode.
This commit is contained in:
parent
578b9c6790
commit
663ccc1dc1
1 changed files with 3 additions and 3 deletions
|
|
@ -148,10 +148,10 @@
|
|||
.onTapGesture {
|
||||
withAnimation(.easeIn(duration: 0.08)) { expanded = true }
|
||||
}.sheet(isPresented: $expanded) {
|
||||
NavigationView {
|
||||
ExpandedPlayer()
|
||||
}
|
||||
ExpandedPlayer()
|
||||
}
|
||||
.offset(y: expanded ? 88 : 0)
|
||||
.opacity(expanded ? 0.0 : 1.0)
|
||||
}
|
||||
|
||||
public var body: some View {
|
||||
|
|
|
|||
Loading…
Reference in a new issue