Fixes tag name on ImageTag

This commit is contained in:
Vitor Pamplona 2025-02-22 16:18:46 -05:00
parent 4b10dd58df
commit 96f57b2c90

View File

@ -33,7 +33,7 @@ class ImageTag(
@JvmStatic
fun parse(tag: Array<String>): ImageTag? {
if (tag.size < TAG_SIZE || tag[0] != ThumbTag.TAG_NAME) return null
if (tag.size < TAG_SIZE || tag[0] != TAG_NAME) return null
return ImageTag(tag[1], tag.getOrNull(2))
}