diff options
| author | Jeff Carr <[email protected]> | 2024-01-31 12:41:28 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-31 12:41:28 -0600 |
| commit | 1a9b13dda5e13d0786718768443bab4a6916aab9 (patch) | |
| tree | ae05054e4889c2b1b7153b2992d80c4e856df20b /update.go | |
| parent | 513c38922b1dca37bb2b2d64c5997e44b5796d00 (diff) | |
use SetText() not SetValue()
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'update.go')
| -rw-r--r-- | update.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -28,13 +28,13 @@ func (ls *LinuxStatus) setSpeed(duration time.Duration) { log.Log(WARN, "can't actually warn") return } - ls.speedActual.SetValue(s) + ls.speedActual.SetText(s) if duration > 500*time.Millisecond { - ls.speed.SetValue("SLOW") + ls.speed.SetText("SLOW") } else if duration > 100*time.Millisecond { - ls.speed.SetValue("OK") + ls.speed.SetText("OK") } else { - ls.speed.SetValue("FAST") + ls.speed.SetText("FAST") } } |
