diff options
| author | Fuwn <[email protected]> | 2025-07-08 04:19:46 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-07-08 04:19:46 -0700 |
| commit | b647d1a7a13e38a529efea3d5d849e5b1a769904 (patch) | |
| tree | d921595d450414348dd512802e4492f18e9b5738 /Sora/Data/CollectionPickerOption.swift | |
| parent | feat: Development commit (diff) | |
| download | sora-testing-b647d1a7a13e38a529efea3d5d849e5b1a769904.tar.xz sora-testing-b647d1a7a13e38a529efea3d5d849e5b1a769904.zip | |
feat: Development commit
Diffstat (limited to 'Sora/Data/CollectionPickerOption.swift')
| -rw-r--r-- | Sora/Data/CollectionPickerOption.swift | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Sora/Data/CollectionPickerOption.swift b/Sora/Data/CollectionPickerOption.swift index 442ebdc..008d559 100644 --- a/Sora/Data/CollectionPickerOption.swift +++ b/Sora/Data/CollectionPickerOption.swift @@ -3,7 +3,6 @@ import Foundation enum CollectionPickerOption: Identifiable, Hashable { case all case folder(UUID) - case topLevel(String) case uncategorized var id: String { @@ -14,9 +13,6 @@ enum CollectionPickerOption: Identifiable, Hashable { case .folder(let id): return id.uuidString - case .topLevel(let name): - return name - case .uncategorized: return "uncategorized" } @@ -30,9 +26,6 @@ enum CollectionPickerOption: Identifiable, Hashable { case .folder(let id): return { settings in settings.folderName(forID: id) ?? "Unknown Folder" } - case .topLevel(let name): - return { _ in name } - case .uncategorized: return { _ in "Uncategorised" } } |