Merge pull request #129 from gbrlsnchs/patch-1
Fix "TX" being displayed as "Tx"
This commit is contained in:
commit
a31e182925
|
@ -96,7 +96,7 @@ func (self *NetWidget) update() {
|
||||||
if i == 0 {
|
if i == 0 {
|
||||||
return totalBytesRecv, "RX", recentBytesRecv
|
return totalBytesRecv, "RX", recentBytesRecv
|
||||||
}
|
}
|
||||||
return totalBytesSent, "Tx", recentBytesSent
|
return totalBytesSent, "TX", recentBytesSent
|
||||||
}()
|
}()
|
||||||
|
|
||||||
recentConverted, unitRecent := utils.ConvertBytes(uint64(recent))
|
recentConverted, unitRecent := utils.ConvertBytes(uint64(recent))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user