mirror of
https://github.com/bolucat/Archive.git
synced 2026-04-23 00:17:16 +08:00
Update On Tue Oct 7 20:42:07 CEST 2025
This commit is contained in:
@@ -605,6 +605,16 @@ public class ProfilesViewModel : MyReactiveObject
|
||||
return;
|
||||
}
|
||||
|
||||
var msgs = await ActionPrecheckManager.Instance.CheckBeforeSetActive(indexId);
|
||||
foreach (var msg in msgs)
|
||||
{
|
||||
NoticeManager.Instance.SendMessage(msg);
|
||||
}
|
||||
if (msgs.Count > 0)
|
||||
{
|
||||
NoticeManager.Instance.Enqueue(msgs.First());
|
||||
}
|
||||
|
||||
if (await ConfigHandler.SetDefaultServerIndex(_config, indexId) == 0)
|
||||
{
|
||||
await RefreshServers();
|
||||
@@ -768,6 +778,16 @@ public class ProfilesViewModel : MyReactiveObject
|
||||
NoticeManager.Instance.Enqueue(ResUI.PleaseSelectServer);
|
||||
return;
|
||||
}
|
||||
|
||||
var msgs = await ActionPrecheckManager.Instance.CheckBeforeGenerateConfig(item);
|
||||
foreach (var msg in msgs)
|
||||
{
|
||||
NoticeManager.Instance.SendMessage(msg);
|
||||
}
|
||||
if (msgs.Count > 0)
|
||||
{
|
||||
NoticeManager.Instance.Enqueue(msgs.First());
|
||||
}
|
||||
if (blClipboard)
|
||||
{
|
||||
var result = await CoreConfigHandler.GenerateClientConfig(item, null);
|
||||
|
||||
Reference in New Issue
Block a user