Commit 44a63ef1 authored by Mygod's avatar Mygod

Add missing "/s" in txRateText and rxRateText

parent 7d9686b5
......@@ -171,8 +171,8 @@ class Shadowsocks
def updateTraffic(txRate: Long, rxRate: Long, txTotal: Long, rxTotal: Long) {
txText.setText(TrafficMonitor.formatTraffic(txTotal))
rxText.setText(TrafficMonitor.formatTraffic(rxTotal))
txRateText.setText(TrafficMonitor.formatTraffic(txRate))
rxRateText.setText(TrafficMonitor.formatTraffic(rxRate))
txRateText.setText(TrafficMonitor.formatTraffic(txRate) + "/s")
rxRateText.setText(TrafficMonitor.formatTraffic(rxRate) + "/s")
}
def attachService: Unit = attachService(callback)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment