From 27a0b5f0a7acd889802b1e90c82b6f9eb2fc6afe Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Fri, 3 Jun 2022 19:09:56 -0700 Subject: [PATCH] Set spacing and background colour on share extension --- apple/OmnivoreKit/Sources/Views/ShareExtensionView.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apple/OmnivoreKit/Sources/Views/ShareExtensionView.swift b/apple/OmnivoreKit/Sources/Views/ShareExtensionView.swift index 23ef80ecc..1fc6557ab 100644 --- a/apple/OmnivoreKit/Sources/Views/ShareExtensionView.swift +++ b/apple/OmnivoreKit/Sources/Views/ShareExtensionView.swift @@ -256,7 +256,7 @@ public struct ShareExtensionChildView: View { .padding(EdgeInsets(top: 0, leading: 0, bottom: 8, trailing: 8)) } } - .background(Color(hex: "#363636")) + .background(Color.appButtonBackground) .frame(maxWidth: .infinity, maxHeight: 61) .cornerRadius(8) } @@ -268,14 +268,14 @@ public struct ShareExtensionChildView: View { .font(Font.system(size: 17, weight: .semibold)) .frame(maxWidth: .infinity, alignment: .center) .padding(.top, 23) - .padding(.bottom, 16) + .padding(.bottom, 12) Rectangle() .foregroundColor(.appGrayText) .frame(maxWidth: .infinity, maxHeight: 1) .opacity(0.06) .padding(.top, 0) - .padding(.bottom, 16) + .padding(.bottom, 18) previewCard .padding(EdgeInsets(top: 0, leading: 16, bottom: 0, trailing: 16))