diff options
| author | Fuwn <[email protected]> | 2025-03-12 03:09:23 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-03-12 03:09:23 -0700 |
| commit | 872f2b0106ad5dafd98c2843d5099d73a02e81be (patch) | |
| tree | a908d050cc877b502d7ac29d8d9697b88d1b9aee /Sora/Views/Bookmarks/BookmarksView.swift | |
| parent | feat: Development commit (diff) | |
| download | sora-testing-872f2b0106ad5dafd98c2843d5099d73a02e81be.tar.xz sora-testing-872f2b0106ad5dafd98c2843d5099d73a02e81be.zip | |
feat: Development commit
Diffstat (limited to 'Sora/Views/Bookmarks/BookmarksView.swift')
| -rw-r--r-- | Sora/Views/Bookmarks/BookmarksView.swift | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Sora/Views/Bookmarks/BookmarksView.swift b/Sora/Views/Bookmarks/BookmarksView.swift index fa7734e..a426be0 100644 --- a/Sora/Views/Bookmarks/BookmarksView.swift +++ b/Sora/Views/Bookmarks/BookmarksView.swift @@ -3,9 +3,11 @@ import SwiftUI struct BookmarksView: View { @EnvironmentObject var settings: SettingsManager @Binding var selectedTab: Int + @ObservedObject var manager: BooruManager var body: some View { GenericListView( + manager: manager, selectedTab: $selectedTab, isPresented: .constant(false), title: "Bookmarks", @@ -21,9 +23,3 @@ struct BookmarksView: View { ) { settings.bookmarks.removeAll() } } } - -#Preview { - BookmarksView(selectedTab: .constant(1)) - .environmentObject(SettingsManager()) - .environmentObject(BooruManager(.yandere)) -} |