From 7c4433e11c55a05b25c28e5864e1ad7da238977f Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sun, 15 Jun 2025 01:22:40 -0700 Subject: feat: Development commit --- Sora/Views/Generic/GenericListView.swift | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/Sora/Views/Generic/GenericListView.swift b/Sora/Views/Generic/GenericListView.swift index 20fcea8..5530567 100644 --- a/Sora/Views/Generic/GenericListView.swift +++ b/Sora/Views/Generic/GenericListView.swift @@ -137,16 +137,18 @@ struct GenericListView: View { // swi } #endif - ToolbarItem { - Button(action: { - isShowingRemoveAllConfirmation = true - }) { - Label("Remove All", systemImage: "trash") + #if os(macOS) + ToolbarItem { + Button(action: { + isShowingRemoveAllConfirmation = true + }) { + Label("Remove All", systemImage: "trash") + } } - } + #endif #if os(iOS) - ToolbarItemGroup(placement: .bottomBar) { + ToolbarItemGroup(placement: .secondaryAction) { if !settings.folders.isEmpty && !allowBookmarking { Button { isSortPickerPresented.toggle() @@ -190,6 +192,12 @@ struct GenericListView: View { // swi } } } + + Button(action: { + isShowingRemoveAllConfirmation = true + }) { + Label("Remove All", systemImage: "trash") + } } } #endif -- cgit v1.2.3