Fixed bug fetching old galleries from hiyobi

This commit is contained in:
tom5079
2019-11-15 19:47:09 +09:00
parent 69fc3ad4e8
commit c004c7f71a
2 changed files with 9 additions and 1 deletions

View File

@@ -26,7 +26,7 @@ fun webpUrlFromUrl(url: String) = url.replace("/galleries/", "/webp/") + ".webp"
data class GalleryInfo(
val width: Int,
val hash: String? = null,
val haswebp: Int,
val haswebp: Int = 0,
val name: String,
val height: Int
)