mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-26 13:24:39 +02:00
Use book/podcast helper
This commit is contained in:
@@ -39,6 +39,7 @@ struct LocalLibraryItem: Realmable, Codable {
|
||||
}
|
||||
}
|
||||
|
||||
var isBook: Bool { self.mediaType == "book" }
|
||||
var isPodcast: Bool { self.mediaType == "podcast" }
|
||||
|
||||
static func primaryKey() -> String? {
|
||||
|
||||
Reference in New Issue
Block a user