fix sliding banners on iOS 26

This commit is contained in:
Mauro Romito
2025-09-10 13:58:27 +02:00
committed by Stefan Ceriu
parent bc95be16d6
commit dd509db927
3 changed files with 15 additions and 2 deletions
@@ -23,6 +23,8 @@ struct PinnedItemsBannerView: View {
.padding(.leading, 16)
.background(Color.compound.bgCanvasDefault)
.shadow(color: Color(red: 0.11, green: 0.11, blue: 0.13).opacity(0.1), radius: 12, x: 0, y: 4)
// To include the shadow in the size
.padding(.bottom, 28)
}
private var mainButton: some View {