Restrict swipe actions to iOS

This commit is contained in:
Arkadiusz Fal
2026-04-20 21:13:08 +02:00
parent bb9ec2fc2a
commit b0f9bb2229
4 changed files with 16 additions and 6 deletions

View File

@@ -67,7 +67,7 @@ struct QueueItemRow: View {
.contentShape(Rectangle())
}
.buttonStyle(.plain)
#if !os(tvOS)
#if os(iOS)
.swipeActions(edge: .trailing, allowsFullSwipe: true) {
Button(role: .destructive) {
onRemove()