From 24901f9c0129703ef44237aff49f01ec813a3127 Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Wed, 24 Aug 2022 17:00:32 +0800 Subject: [PATCH] add shadow back to miniplayer --- .../OmnivoreKit/Sources/App/Views/AudioPlayer/MiniPlayer.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apple/OmnivoreKit/Sources/App/Views/AudioPlayer/MiniPlayer.swift b/apple/OmnivoreKit/Sources/App/Views/AudioPlayer/MiniPlayer.swift index 881989408..b413c200b 100644 --- a/apple/OmnivoreKit/Sources/App/Views/AudioPlayer/MiniPlayer.swift +++ b/apple/OmnivoreKit/Sources/App/Views/AudioPlayer/MiniPlayer.swift @@ -246,7 +246,7 @@ public struct MiniPlayer: View { .padding(EdgeInsets(top: 0, leading: expanded ? 24 : 6, bottom: 0, trailing: expanded ? 24 : 6)) .background( Color.systemBackground - .shadow(color: expanded ? .clear : .gray /* .opacity(0.33) */, radius: 8, x: 0, y: 4) + .shadow(color: expanded ? .clear : .gray.opacity(0.33), radius: 8, x: 0, y: 4) .mask(Rectangle().padding(.top, -20)) ) .onTapGesture {