diff options
| author | Fuwn <[email protected]> | 2025-02-20 20:12:24 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-02-20 20:12:24 -0800 |
| commit | 3a53a62f9c1c505366fe35ad745746d55d381dc8 (patch) | |
| tree | 9e9bee6bcb056ce5cbf9a34771f5c76da2bd7e64 /Sora/Data/Settings/Bookmark.swift | |
| parent | feat: Development commit (diff) | |
| download | sora-testing-3a53a62f9c1c505366fe35ad745746d55d381dc8.tar.xz sora-testing-3a53a62f9c1c505366fe35ad745746d55d381dc8.zip | |
feat: Development commit
Diffstat (limited to 'Sora/Data/Settings/Bookmark.swift')
| -rw-r--r-- | Sora/Data/Settings/Bookmark.swift | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Sora/Data/Settings/Bookmark.swift b/Sora/Data/Settings/Bookmark.swift index 2e6fc93..16f1e50 100644 --- a/Sora/Data/Settings/Bookmark.swift +++ b/Sora/Data/Settings/Bookmark.swift @@ -4,10 +4,12 @@ struct Bookmark: Codable, Identifiable, Hashable { let id: UUID let tags: [String] let createdAt: Date + let provider: BooruProvider - init(id: UUID = UUID(), tags: [String]) { + init(id: UUID = UUID(), provider: BooruProvider, tags: [String]) { createdAt = Date() self.id = id self.tags = tags + self.provider = provider } } |