[Fix] Dev release update notification icon

This commit is contained in:
Rsl1122 2018-10-25 11:34:43 +03:00
parent 04c831b9b3
commit d490bb64b9

View File

@ -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() {