change more simpler.
This commit is contained in:
parent
443fcc4b66
commit
6841fbe43e
|
@ -92,18 +92,15 @@ struct ItemLandscapeMainView: View {
|
|||
.opacity(0.3)
|
||||
.edgesIgnoringSafeArea(.all)
|
||||
.blur(radius: 4)
|
||||
.layoutPriority(1)
|
||||
.layoutPriority(-1)
|
||||
|
||||
// iPadOS is making the view go all the way to the edge.
|
||||
// We have to accomodate this here
|
||||
Group {
|
||||
if UIDevice.current.userInterfaceIdiom == .pad {
|
||||
innerBody.padding(.horizontal, 25)
|
||||
} else {
|
||||
innerBody
|
||||
}
|
||||
if UIDevice.current.userInterfaceIdiom == .pad {
|
||||
innerBody.padding(.horizontal, 25)
|
||||
} else {
|
||||
innerBody
|
||||
}
|
||||
.layoutPriority(2)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue