diff --git a/Shared/Player/PlaybackSettings.swift b/Shared/Player/PlaybackSettings.swift index eee698d4..d4f64ec5 100644 --- a/Shared/Player/PlaybackSettings.swift +++ b/Shared/Player/PlaybackSettings.swift @@ -262,6 +262,8 @@ struct PlaybackSettings: View { .controlSize(.large) .frame(minWidth: 32, minHeight: 28) .fixedSize() + #elseif os(iOS) + .buttonStyle(.plain) #else .buttonStyle(.bordered) .controlSize(.large) @@ -297,6 +299,8 @@ struct PlaybackSettings: View { .controlSize(.large) .frame(minWidth: 32, minHeight: 28) .fixedSize() + #elseif os(iOS) + .buttonStyle(.plain) #else .buttonStyle(.bordered) .controlSize(.large) diff --git a/Shared/Videos/VerticalCells.swift b/Shared/Videos/VerticalCells.swift index b4396505..aa8e3614 100644 --- a/Shared/Videos/VerticalCells.swift +++ b/Shared/Videos/VerticalCells.swift @@ -8,6 +8,7 @@ struct VerticalCells: View { @Environment(\.loadMoreContentHandler) private var loadMoreContentHandler @Environment(\.listingStyle) private var listingStyle + @Environment(\.navigationStyle) private var navigationStyle var items = [ContentItem]() var allowEmpty = false @@ -50,7 +51,7 @@ struct VerticalCells: View { } .animation(nil) #if os(iOS) - .edgesIgnoringSafeArea(edgesIgnoringSafeArea) + .edgesIgnoringSafeArea(navigationStyle == .sidebar ? [] : edgesIgnoringSafeArea) #endif #if os(macOS) .background(Color.secondaryBackground)