Commit 0d2663c9 authored by Mygod's avatar Mygod

Remove unnecessary resets

parent 9adf1171
......@@ -472,8 +472,6 @@ class Shadowsocks
def run() {
if (state == State.CONNECTED) {
TrafficMonitor.update()
} else {
TrafficMonitor.reset()
}
val trafficStat = getString(R.string.stat_summary).formatLocal(Locale.ENGLISH,
TrafficMonitor.getTxRate, TrafficMonitor.getRxRate,
......
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