Skip to content

Commit

Permalink
Fix news icons using incorrect file extrension
Browse files Browse the repository at this point in the history
  • Loading branch information
Galarzaa90 committed Aug 11, 2024
1 parent f9d314c commit a36cb41
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.8.1 (2024-08-11)

- The icons used for news categories are now PNG images instead of GIF.

## 0.8.0 (2024-07-31)

- Added `isCachingEnabled` property to `TibiaResponse`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public enum class NewsCategory(override val value: String) : StringEnum {
/**
* A URL to the big icon version of this category.
*/
public val bigIconUrl: String get() = getStaticFileUrl("images", "global", "content", "newsicon_${value}_big.gif")
public val bigIconUrl: String get() = getStaticFileUrl("images", "global", "content", "newsicon_${value}_big.png")

/**
* An URL to the small icon version of this category.
Expand All @@ -47,7 +47,7 @@ public enum class NewsCategory(override val value: String) : StringEnum {
"images",
"global",
"content",
"newsicon_${value}_small.gif"
"newsicon_${value}_small.png"
)

public companion object {
Expand Down

0 comments on commit a36cb41

Please sign in to comment.