Fix "TX" being displayed as "Tx"

"RX" is all caps so either "TX" should also be or none. All caps might be the most common form for both.
This commit is contained in:
Gabriel Sanches 2019-03-21 13:20:50 -03:00 committed by GitHub
parent ade4f2a623
commit b51b78f796
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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))