Fix: AutoHideStartup's bug of displaying window before hiding it.

This commit is contained in:
Waheal
2025-10-06 21:11:37 +08:00
parent 9c58fec8d4
commit 22e0364b33
3 changed files with 24 additions and 1 deletions
@@ -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