diff --git a/Accessibility Sample/Accessibility Sample/AppView.swift b/Accessibility Sample/Accessibility Sample/AppView.swift index 112870598..58171260a 100644 --- a/Accessibility Sample/Accessibility Sample/AppView.swift +++ b/Accessibility Sample/Accessibility Sample/AppView.swift @@ -17,7 +17,7 @@ struct AppView: View { systemImage: "square.3.layers.3d.down.left" ) }.onAppear { - Airship.shared.privacyManager.enableFeatures(.push) + Airship.privacyManager.enableFeatures(.push) Airship.push.userPushNotificationsEnabled = true Airship.push.backgroundPushNotificationsEnabled = true } diff --git a/Airship/AirshipAutomation/Source/InAppMessage/View/InAppMessageBannerView.swift b/Airship/AirshipAutomation/Source/InAppMessage/View/InAppMessageBannerView.swift index 17cbe9a21..a78103e57 100644 --- a/Airship/AirshipAutomation/Source/InAppMessage/View/InAppMessageBannerView.swift +++ b/Airship/AirshipAutomation/Source/InAppMessage/View/InAppMessageBannerView.swift @@ -148,7 +148,12 @@ struct InAppMessageBannerView: View { let itemSpacing: CGFloat = 16 VStack(spacing:itemSpacing) { - contentBody + if #available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) { + contentBody.geometryGroup() + } else { + contentBody.transformEffect(.identity) + } + buttonsView }.padding([.top, .horizontal], itemSpacing) .addNub(placement: displayContent.placement,