mirror of
https://github.com/2dust/v2rayN.git
synced 2026-10-12 17:18:21 +03:00
Fix: AutoHideStartup's bug of displaying window before hiding it.
This commit is contained in:
@@ -274,7 +274,7 @@ public class MainWindowViewModel : MyReactiveObject
|
||||
|
||||
BlReloadEnabled = true;
|
||||
await Reload();
|
||||
await AutoHideStartup();
|
||||
// await AutoHideStartup();
|
||||
}
|
||||
|
||||
#endregion Init
|
||||
@@ -576,6 +576,7 @@ public class MainWindowViewModel : MyReactiveObject
|
||||
await CoreManager.Instance.LoadCore(node);
|
||||
}
|
||||
|
||||
/*
|
||||
private async Task AutoHideStartup()
|
||||
{
|
||||
if (_config.UiItem.AutoHideStartup)
|
||||
@@ -584,6 +585,7 @@ public class MainWindowViewModel : MyReactiveObject
|
||||
}
|
||||
await Task.CompletedTask;
|
||||
}
|
||||
*/
|
||||
|
||||
#endregion core job
|
||||
|
||||
|
||||
Reference in New Issue
Block a user