custom explore page + api
This commit is contained in:
1 parent
5a94ea73d9
commit
4d6b093ffd
10 files changed
+415
-49
No files matched your search
@@ -0,0 +1,27 @@
|
||||
//
|
||||
// DownloadableWallpaper.swift
|
||||
// Pocket Poster
|
||||
//
|
||||
// Created by lemin on 7/15/25.
|
||||
//
|
||||
|
||||
class DownloadableWallpaper: Identifiable, Codable {
|
||||
var name: String
|
||||
var description: String
|
||||
var url: String
|
||||
var preview: String
|
||||
var authors: String
|
||||
var type: WallpaperType?
|
||||
|
||||
init(name: String, description: String, authors: String, preview: String, url: String, version: String) {
|
||||
self.name = name
|
||||
self.description = description
|
||||
self.authors = authors
|
||||
self.preview = preview
|
||||
self.url = url
|
||||
}
|
||||
|
||||
enum WallpaperType: String, Codable {
|
||||
case custom, apple, template
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user