mirror of
https://github.com/2dust/v2rayN.git
synced 2026-09-28 01:22:07 +03:00
Fix: AutoHideStartup's bug of displaying window before hiding it. (#8083)
* Fix: AutoHideStartup's bug of displaying window before hiding it.
* Disable AutoHideStartup for Linux
* Revert "Disable AutoHideStartup for Linux"
This reverts commit 09f27e3455.
---------
Co-authored-by: 2dust <31833384+2dust@users.noreply.github.com>
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