From adaadd27d6df350be1146cff02a5de0c945a9a03 Mon Sep 17 00:00:00 2001 From: Satindar Dhillon Date: Wed, 13 Apr 2022 20:03:41 -0700 Subject: [PATCH] remove labels from swipe actions --- .../Sources/App/Views/Home/HomeFeedViewIOS.swift | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewIOS.swift b/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewIOS.swift index a5440b461..23a610b1e 100644 --- a/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewIOS.swift +++ b/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewIOS.swift @@ -226,13 +226,7 @@ import Views } if #available(iOS 15.0, *) { link - .swipeActions(edge: .trailing, allowsFullSwipe: false) { - Button( - action: { viewModel.itemUnderLabelEdit = item }, - label: { Label("Edit Labels", systemImage: "tag") } - ) - } - .swipeActions(edge: .trailing, allowsFullSwipe: false) { + .swipeActions(edge: .trailing, allowsFullSwipe: true) { if !item.isArchived { Button { withAnimation(.linear(duration: 0.4)) { @@ -251,7 +245,7 @@ import Views }.tint(.indigo) } } - .swipeActions(edge: .trailing, allowsFullSwipe: false) { + .swipeActions(edge: .trailing, allowsFullSwipe: true) { Button( role: .destructive, action: {