Fixed development version check

This commit is contained in:
マリウス 2022-01-11 15:21:07 -05:00
parent a89946d46b
commit f8add2f6b6
No known key found for this signature in database
GPG Key ID: 272ED814BF63261F

View File

@ -180,13 +180,13 @@ func (mainscreen *Mainscreen) SetInfo(info map[string]string) {
func (mainscreen *Mainscreen) SetVersion(version string, versionLatest string) {
v := version
if version == "v0.0.0" {
if version == "0.0.0" {
v = "DeLorean @ 1.21 Gigawatts"
}
l := ""
if versionLatest != version &&
version != "v0.0.0" {
version != "0.0.0" {
l = fmt.Sprintf("%s update available!", versionLatest)
}