forked from I2P_Developers/i2p.i2p
Fix removal of subsession aliases from tunnel manager on
I2CP connection shutdown Sort tweaks for shared clients in summary bar
This commit is contained in:
@ -491,9 +491,11 @@ public class SummaryHelper extends HelperBase {
|
||||
public int compare(Destination lhs, Destination rhs) {
|
||||
String lname = getName(lhs);
|
||||
String rname = getName(rhs);
|
||||
if (lname.equals(xsc))
|
||||
boolean lshared = lname.startsWith("shared clients") || lname.startsWith(xsc);
|
||||
boolean rshared = rname.startsWith("shared clients") || rname.startsWith(xsc);
|
||||
if (lshared && !rshared)
|
||||
return -1;
|
||||
if (rname.equals(xsc))
|
||||
if (rshared && !lshared)
|
||||
return 1;
|
||||
return Collator.getInstance().compare(lname, rname);
|
||||
}
|
||||
|
Reference in New Issue
Block a user