mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-23 09:37:54 +01:00
[Fix] Dev release update notification icon
This commit is contained in:
parent
04c831b9b3
commit
d490bb64b9
@ -94,7 +94,7 @@ public class VersionCheckSystem implements SubSystem {
|
||||
public Optional<String> getUpdateHtml() {
|
||||
return getNewVersionAvailable()
|
||||
.map(v -> v.isTrusted() ? "<a href=\"" + v.getChangeLogUrl() + "\" target=\"_blank\">" +
|
||||
"<h4 class=\"col-green\"><i class=\"fa fa-" + (v.isRelease() ? "download" : "dev") + "\"></i> Update available!</h4></a>" : "");
|
||||
"<h4 class=\"col-green\"><i class=\"" + (v.isRelease() ? "fa fa-download" : "fab fa-dev") + "\"></i> Update available!</h4></a>" : "");
|
||||
}
|
||||
|
||||
public String getCurrentVersion() {
|
||||
|
Loading…
Reference in New Issue
Block a user