mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-03-17 21:31:57 +01:00
Fixes tag name on ImageTag
This commit is contained in:
parent
4b10dd58df
commit
96f57b2c90
@ -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))
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user