minor fixes

This commit is contained in:
clowwindy
2014-12-20 17:26:40 +08:00
parent 52ca609e3e
commit eaaacd398d
7 changed files with 29 additions and 14 deletions
+8
View File
@@ -16,5 +16,13 @@ namespace Shadowsocks.Model
public string password;
public string method;
public string remarks;
public string FriendlyName
{
get
{
return string.IsNullOrEmpty(remarks) ? server + ":" + server_port : server + ":" + server_port + " (" + remarks + ")";
}
}
}
}