mirror of https://github.com/2dust/v2rayN
Fix notifyicon maxlength issue
parent
99fa98844c
commit
61b7997ae9
|
@ -1082,7 +1082,7 @@ namespace v2rayN.Forms
|
|||
/// <param name="msg"></param>
|
||||
private void notifyMsg(string msg)
|
||||
{
|
||||
notifyMain.Text = msg;
|
||||
notifyMain.Text = (msg.Length <= 63 ? msg : msg.Substring(1, 63));
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
|
|
@ -81,7 +81,8 @@ namespace v2rayN.Handler
|
|||
|
||||
Utils.ToJsonFile(v2rayConfig, fileName, false);
|
||||
|
||||
msg = string.Format(ResUI.SuccessfulConfiguration, $"[{config.GetGroupRemarks(node.groupId)}] {node.GetSummary()}");
|
||||
//msg = string.Format(ResUI.SuccessfulConfiguration, $"[{config.GetGroupRemarks(node.groupId)}] {node.GetSummary()}");
|
||||
msg = string.Format(ResUI.SuccessfulConfiguration, "");
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
|
@ -57,7 +57,8 @@ namespace v2rayN.Handler
|
|||
}
|
||||
else
|
||||
{
|
||||
ShowMsg(true, msg);
|
||||
ShowMsg(false, msg);
|
||||
ShowMsg(true, $"[{config.GetGroupRemarks(item.groupId)}] {item.GetSummary()}");
|
||||
V2rayRestart();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue