pull/695/head
YFdyh000 2020-04-18 08:57:53 +08:00
parent 3b1a2287d5
commit 1c04b752cd
1 changed files with 4 additions and 4 deletions

View File

@ -97,11 +97,11 @@ namespace v2rayN.Handler
configCopy.index = index;
if (V2rayConfigHandler.Export2ClientConfig(configCopy, fileName, out string msg) != 0)
{
UI.Show(msg);
UI.ShowWarning(msg);
}
else
{
UI.ShowWarning(string.Format(UIRes.I18N("SaveClientConfigurationIn"), fileName));
UI.Show(string.Format(UIRes.I18N("SaveClientConfigurationIn"), fileName));
}
}
@ -137,11 +137,11 @@ namespace v2rayN.Handler
configCopy.index = index;
if (V2rayConfigHandler.Export2ServerConfig(configCopy, fileName, out string msg) != 0)
{
UI.Show(msg);
UI.ShowWarning(msg);
}
else
{
UI.ShowWarning(string.Format(UIRes.I18N("SaveServerConfigurationIn"), fileName));
UI.Show(string.Format(UIRes.I18N("SaveServerConfigurationIn"), fileName));
}
}