remove testing negation
This commit is contained in:
parent
f6ac3dc05b
commit
314df9c4d1
2
icons.go
2
icons.go
@ -84,7 +84,7 @@ func buildImage(xin *xinStatus) *myIcon {
|
|||||||
i.data.Set(x, y, border)
|
i.data.Set(x, y, border)
|
||||||
} else {
|
} else {
|
||||||
if aliveCount > 0 && y < gridMark*utdCount {
|
if aliveCount > 0 && y < gridMark*utdCount {
|
||||||
if !xin.hasReboot {
|
if xin.hasReboot {
|
||||||
i.data.Set(x, y, rebootColor)
|
i.data.Set(x, y, rebootColor)
|
||||||
} else {
|
} else {
|
||||||
i.data.Set(x, y, on)
|
i.data.Set(x, y, on)
|
||||||
|
Loading…
Reference in New Issue
Block a user