diff --git a/v2rayN/v2rayN/Forms/MainForm.cs b/v2rayN/v2rayN/Forms/MainForm.cs index 7ef29f68..2cb279b3 100644 --- a/v2rayN/v2rayN/Forms/MainForm.cs +++ b/v2rayN/v2rayN/Forms/MainForm.cs @@ -1364,9 +1364,18 @@ namespace v2rayN.Forms if (config.autoUpdateSubscribe) { ShowMsg(UIRes.I18N("StartAutoUpdateSubscribe")); - ShowMsg(config.index.ToString()); - UpdateSubscriptionProcess(); - SetDefaultServer(config.index); + int lastIndex = config.index; + void _updateUI(bool success, string msg) + { + AppendText(false, msg); + if (success) + { + RefreshServers(); + } + SetDefaultServer(lastIndex); + }; + + (new UpdateHandle()).UpdateSubscriptionProcess(config, _updateUI); } }