From b7b994e599f73e6965cd4927f170cc78c34abf8a Mon Sep 17 00:00:00 2001 From: Satindar Dhillon Date: Thu, 24 Feb 2022 21:09:15 -0800 Subject: [PATCH] set snackbar y offset to 8 --- apple/OmnivoreKit/Sources/Views/SnackBar.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/apple/OmnivoreKit/Sources/Views/SnackBar.swift b/apple/OmnivoreKit/Sources/Views/SnackBar.swift index 95e9f1271..aed304e18 100644 --- a/apple/OmnivoreKit/Sources/Views/SnackBar.swift +++ b/apple/OmnivoreKit/Sources/Views/SnackBar.swift @@ -55,6 +55,7 @@ struct Snackbar: View { .frame(width: min(380, geometry.size.width * 0.96), height: 44) .background(self.colorScheme == .light ? Color.black : Color.white) .cornerRadius(5) + .offset(x: 0, y: -8) .shadow(color: .gray, radius: 2) .animation(Animation.spring()) .onAppear {