We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e915ea9 commit 7dc49e5Copy full SHA for 7dc49e5
src/main/scala/com/github/shadowsocks/ProfilesFragment.scala
@@ -109,7 +109,7 @@ final class ProfilesFragment extends ToolbarFragment with Toolbar.OnMenuItemClic
109
}
110
title.setText(item.getName)
111
address.setText(if (item.nameIsEmpty) "" else item.formattedAddress)
112
- traffic.setText(getString(R.string.stat_profiles,
+ traffic.setText(if (tx <= 0 && rx <= 0) null else getString(R.string.stat_profiles,
113
TrafficMonitor.formatTraffic(tx), TrafficMonitor.formatTraffic(rx)))
114
115
if (item.id == app.profileId) {
0 commit comments