mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Add circular dependency comments
This commit is contained in:
parent
39d7187713
commit
39d34b1a03
1 changed files with 1 additions and 0 deletions
|
|
@ -77,6 +77,7 @@ namespace Flow.Launcher
|
||||||
|
|
||||||
public event VisibilityChangedEventHandler VisibilityChanged { add => _mainVM.VisibilityChanged += value; remove => _mainVM.VisibilityChanged -= value; }
|
public event VisibilityChangedEventHandler VisibilityChanged { add => _mainVM.VisibilityChanged += value; remove => _mainVM.VisibilityChanged -= value; }
|
||||||
|
|
||||||
|
// Must use Ioc.Default.GetRequiredService<Updater>() to avoid circular dependency
|
||||||
public void CheckForNewUpdate() => _ = Ioc.Default.GetRequiredService<Updater>().UpdateAppAsync(false);
|
public void CheckForNewUpdate() => _ = Ioc.Default.GetRequiredService<Updater>().UpdateAppAsync(false);
|
||||||
|
|
||||||
public void SaveAppAllSettings()
|
public void SaveAppAllSettings()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue