mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-05-01 02:02:22 +00:00
Rename view model manager methods
This commit is contained in:
@@ -101,9 +101,7 @@ public class App : Application, IDisposable
|
||||
{
|
||||
desktop.MainWindow = _services
|
||||
.GetRequiredService<ViewManager>()
|
||||
.TryBindWindow(
|
||||
_services.GetRequiredService<ViewModelManager>().CreateMainViewModel()
|
||||
);
|
||||
.TryBindWindow(_services.GetRequiredService<ViewModelManager>().GetMainViewModel());
|
||||
|
||||
// Although `App.Dispose()` is invoked from `Program.Main(...)`, on some platforms
|
||||
// it may be called too late in the shutdown lifecycle. Attach an exit
|
||||
|
||||
Reference in New Issue
Block a user