diff options
| author | Fuwn <[email protected]> | 2025-07-08 06:46:30 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-07-08 06:46:30 -0700 |
| commit | d1dbb82a9f64b22cf655417290adeb37b096c250 (patch) | |
| tree | eae1b2457ecb3a3d389eca560de89c686af79152 /Sora/Views/BookmarkMenuButtonView.swift | |
| parent | feat: Development commit (diff) | |
| download | sora-testing-d1dbb82a9f64b22cf655417290adeb37b096c250.tar.xz sora-testing-d1dbb82a9f64b22cf655417290adeb37b096c250.zip | |
feat: Development commit
Diffstat (limited to 'Sora/Views/BookmarkMenuButtonView.swift')
| -rw-r--r-- | Sora/Views/BookmarkMenuButtonView.swift | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Sora/Views/BookmarkMenuButtonView.swift b/Sora/Views/BookmarkMenuButtonView.swift index 287d7b7..6877c5b 100644 --- a/Sora/Views/BookmarkMenuButtonView.swift +++ b/Sora/Views/BookmarkMenuButtonView.swift @@ -4,6 +4,7 @@ struct BookmarkMenuButtonView: View { @EnvironmentObject var settings: SettingsManager let tags: [String] let provider: BooruProvider + var disableNewCollection = false @State private var isNewCollectionAlertPresented = false @State private var newCollectionName = "" @State private var itemPendingCollectionAssignment: UUID? @@ -72,6 +73,7 @@ struct BookmarkMenuButtonView: View { }) { Label("New Collection", systemImage: "plus") } + .disabled(disableNewCollection) } label: { Label("Bookmark to Collection", systemImage: "folder.badge.plus") } |