Various bug fixes.

This commit is contained in:
NerdNumber9
2017-03-09 20:46:24 -05:00
parent fa6790856d
commit 3222e0646d
6 changed files with 31 additions and 18 deletions
@@ -54,13 +54,6 @@ class MetadataHelper {
exGalleryBook().read<ExGalleryMetadata>(it)
}
fun hasMetadata(url: String, exh: Boolean): Boolean
= ExGalleryMetadata().let {
it.url = url
it.exh = exh
return exGalleryBook().exist(it.galleryUniqueIdentifier())
}
//TODO Problem, our new metadata structures are incompatible.
//TODO We will probably just delete the old metadata structures
fun exGalleryBook() = Paper.book("gallery-ex")!!