diff --git a/DynamicIsland/components/Notch/MinimalisticMusicPlayerView.swift b/DynamicIsland/components/Notch/MinimalisticMusicPlayerView.swift index 5a7e1dd..f2a772e 100644 --- a/DynamicIsland/components/Notch/MinimalisticMusicPlayerView.swift +++ b/DynamicIsland/components/Notch/MinimalisticMusicPlayerView.swift @@ -15,7 +15,7 @@ struct MinimalisticMusicPlayerView: View { var body: some View { VStack(spacing: 0) { // Header area with album art (matching DynamicIslandHeader height of 24pt) - HStack(alignment: .bottom, spacing: 10) { + HStack(alignment: .center, spacing: 10) { MinimalisticAlbumArtView(vm: vm, albumArtNamespace: albumArtNamespace) .frame(width: 50, height: 50) @@ -37,7 +37,6 @@ struct MinimalisticMusicPlayerView: View { // Visualizer aligned to bottom if useMusicVisualizer { visualizer - .padding(.bottom, 2) } } .frame(height: 50) // Fixed height to accommodate album art @@ -51,8 +50,8 @@ struct MinimalisticMusicPlayerView: View { .padding(.top, 4) } .padding(.horizontal, 12) - .padding(.top, 0) - .padding(.bottom, 4) + .padding(.top, -20) + .padding(.bottom, 3) .frame(maxWidth: .infinity) } diff --git a/DynamicIsland/sizing/matters.swift b/DynamicIsland/sizing/matters.swift index 653f36d..2eff7fe 100644 --- a/DynamicIsland/sizing/matters.swift +++ b/DynamicIsland/sizing/matters.swift @@ -15,7 +15,7 @@ let downloadSneakSize: CGSize = .init(width: 65, height: 1) let batterySneakSize: CGSize = .init(width: 160, height: 1) let openNotchSize: CGSize = .init(width: 640, height: 190) -let minimalisticOpenNotchSize: CGSize = .init(width: 420, height: 190) +let minimalisticOpenNotchSize: CGSize = .init(width: 420, height: 180) let cornerRadiusInsets: (opened: (top: CGFloat, bottom: CGFloat), closed: (top: CGFloat, bottom: CGFloat)) = (opened: (top: 19, bottom: 24), closed: (top: 6, bottom: 14)) let minimalisticCornerRadiusInsets: (opened: (top: CGFloat, bottom: CGFloat), closed: (top: CGFloat, bottom: CGFloat)) = (opened: (top: 35, bottom: 35), closed: cornerRadiusInsets.closed)