Skip to content

Commit 203b313

Browse files
update UI
1 parent 4f62279 commit 203b313

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/src/main/java/io/nekohasekai/sagernet/ui/ConfigurationFragment.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1629,8 +1629,8 @@ class ConfigurationFragment @JvmOverloads constructor(
16291629
}
16301630

16311631
var address = proxyEntity.displayAddress()
1632-
if (showTraffic && address.length >= 30) {
1633-
address = address.substring(0, 27) + "..."
1632+
if (showTraffic && address.length >= 25) {
1633+
address = address.substring(0, 22) + "..."
16341634
}
16351635

16361636
if (proxyEntity.requireBean().name.isBlank() || !pf.alwaysShowAddress) {

0 commit comments

Comments
 (0)