From 880315ee531ab19c2327ca6f8193dcba43c5ec6d Mon Sep 17 00:00:00 2001 From: oliverhnat Date: Thu, 2 May 2024 19:09:38 +0200 Subject: [PATCH] Remove edit button --- WordAX/Views/Deck/DeckListView.swift | 3 --- WordAX/Views/Flashcards/FlashCardListView.swift | 3 --- 2 files changed, 6 deletions(-) diff --git a/WordAX/Views/Deck/DeckListView.swift b/WordAX/Views/Deck/DeckListView.swift index 2b258f5..6e245d9 100644 --- a/WordAX/Views/Deck/DeckListView.swift +++ b/WordAX/Views/Deck/DeckListView.swift @@ -36,9 +36,6 @@ struct DeckListView: View { }) } .toolbar { - ToolbarItemGroup(placement: .topBarLeading) { - EditButton() - } ToolbarItemGroup(placement: .topBarTrailing) { Button(action: { self.addDeck = true diff --git a/WordAX/Views/Flashcards/FlashCardListView.swift b/WordAX/Views/Flashcards/FlashCardListView.swift index 68833c0..443b993 100644 --- a/WordAX/Views/Flashcards/FlashCardListView.swift +++ b/WordAX/Views/Flashcards/FlashCardListView.swift @@ -63,9 +63,6 @@ struct FlashCardListView: View { }) .navigationBarTitle(deck?.name ?? "All Flashcards", displayMode: deck != nil ? .inline : .automatic) .toolbar { - ToolbarItemGroup(placement: .topBarTrailing) { - EditButton() - } ToolbarItemGroup(placement: .topBarTrailing) { Button(action: { self.addFlashcard = true