Pushing more possibly broken code.

This commit is contained in:
alphafetus committed 2023-11-29 21:31:36 -05:00
1 parent 435d01ef90
commit 7eb096767c
1 file changed
+1 -1
+1 -1
View File
@@ -17,7 +17,7 @@ public partial class App : Application {
if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop) { if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop) {
var coins = new CoinDatabase(); var coins = new CoinDatabase();
desktop.MainWindow = new MainWindow { desktop.MainWindow = new MainWindow {
DataContext = new MainWindowViewModel(), DataContext = new MainWindowViewModel(coins, true),
}; };
// Allow the application to save the database when it exits. // Allow the application to save the database when it exits.