Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyrrrz committed Mar 21, 2024
1 parent b06e862 commit 13230b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Gress.Demo/App.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ public class App : Application

public override void OnFrameworkInitializationCompleted()
{
if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop)
desktop.MainWindow = new MainWindow();
if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktopLifetime)
desktopLifetime.MainWindow = new MainWindow();

base.OnFrameworkInitializationCompleted();
}
Expand Down
1 change: 1 addition & 0 deletions Gress.Demo/Views/MainWindow.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<Window.DataContext>
<viewModels:MainViewModel />
</Window.DataContext>

<Grid RowDefinitions="Auto,*,Auto">
<!-- Aggregated progress -->
<StackPanel
Expand Down

0 comments on commit 13230b9

Please sign in to comment.