Merge pull request #129 from gbrlsnchs/patch-1

Fix "TX" being displayed as "Tx"
This commit is contained in:
Caleb Bassi 2019-03-22 17:48:51 -07:00 committed by GitHub
commit a31e182925
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -96,7 +96,7 @@ func (self *NetWidget) update() {
if i == 0 {
return totalBytesRecv, "RX", recentBytesRecv
}
return totalBytesSent, "Tx", recentBytesSent
return totalBytesSent, "TX", recentBytesSent
}()
recentConverted, unitRecent := utils.ConvertBytes(uint64(recent))