diff options
| author | Fuwn <[email protected]> | 2025-02-21 01:53:31 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-02-21 01:53:35 -0800 |
| commit | 617370e834db97c2c6ce5c5bbd3825fcad013b7f (patch) | |
| tree | 8d20d45c0cb1169d8c08509e106d0d57b0d71c72 /Sora/Data/Booru | |
| parent | feat: Development commit (diff) | |
| download | sora-testing-617370e834db97c2c6ce5c5bbd3825fcad013b7f.tar.xz sora-testing-617370e834db97c2c6ce5c5bbd3825fcad013b7f.zip | |
feat: Development commit
Diffstat (limited to 'Sora/Data/Booru')
| -rw-r--r-- | Sora/Data/Booru/BooruProvider.swift | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Sora/Data/Booru/BooruProvider.swift b/Sora/Data/Booru/BooruProvider.swift index e742fef..3b3b126 100644 --- a/Sora/Data/Booru/BooruProvider.swift +++ b/Sora/Data/Booru/BooruProvider.swift @@ -1,4 +1,13 @@ enum BooruProvider: String, CaseIterable, Decodable, Encodable { case yandere case safebooru + + func formatted() -> String { + switch self { + case .yandere: + return "yande.re" + case .safebooru: + return "Safebooru" + } + } } |