diff options
| author | Fuwn <[email protected]> | 2025-06-12 05:31:40 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-06-12 05:34:31 -0700 |
| commit | 2dfdbe91a5edfb3eb50316594abcff3c2fbf445d (patch) | |
| tree | 6d64a4259b2e33c67841467cdbd92f5d4a976ab9 /Sora/Views/Bookmarks | |
| parent | feat: Development commit (diff) | |
| download | sora-testing-2dfdbe91a5edfb3eb50316594abcff3c2fbf445d.tar.xz sora-testing-2dfdbe91a5edfb3eb50316594abcff3c2fbf445d.zip | |
feat: Development commit
Diffstat (limited to 'Sora/Views/Bookmarks')
| -rw-r--r-- | Sora/Views/Bookmarks/BookmarksAddToView.swift | 7 | ||||
| -rw-r--r-- | Sora/Views/Bookmarks/BookmarksView.swift | 30 |
2 files changed, 0 insertions, 37 deletions
diff --git a/Sora/Views/Bookmarks/BookmarksAddToView.swift b/Sora/Views/Bookmarks/BookmarksAddToView.swift deleted file mode 100644 index 3c8ad68..0000000 --- a/Sora/Views/Bookmarks/BookmarksAddToView.swift +++ /dev/null @@ -1,7 +0,0 @@ -import SwiftUI - -struct BookmarksAddToView: View { - var body: some View { - Text("BookmarksAddToView") - } -} diff --git a/Sora/Views/Bookmarks/BookmarksView.swift b/Sora/Views/Bookmarks/BookmarksView.swift deleted file mode 100644 index babc667..0000000 --- a/Sora/Views/Bookmarks/BookmarksView.swift +++ /dev/null @@ -1,30 +0,0 @@ -import SwiftUI - -struct BookmarksView: View { - @EnvironmentObject var settings: SettingsManager - @Binding var selectedTab: Int - - var body: some View { - GenericListView( - selectedTab: $selectedTab, - isPresented: .constant(false), - allowBookmarking: false, - title: "Bookmarks", - emptyMessage: "No Bookmarks", - emptyIcon: "bookmark", - emptyDescription: "Tap the bookmark button on a search page to add a bookmark.", - removeAllMessage: - "Are you sure you want to remove all bookmarks? This action cannot be undone.", - removeAllButtonText: "Remove All Bookmarks", - items: settings.bookmarks, - removeAction: settings.removeBookmark, - removeActionUUID: settings.removeBookmark - ) { settings.bookmarks.removeAll() } - } -} - -#Preview { - BookmarksView(selectedTab: .constant(1)) - .environmentObject(SettingsManager()) - .environmentObject(BooruManager(.yandere)) -} |