Pushing more possibly broken code.
This commit is contained in:
1 parent
435d01ef90
commit
7eb096767c
1 file changed
+1
-1
@@ -17,7 +17,7 @@ public partial class App : Application {
|
||||
if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop) {
|
||||
var coins = new CoinDatabase();
|
||||
desktop.MainWindow = new MainWindow {
|
||||
DataContext = new MainWindowViewModel(),
|
||||
DataContext = new MainWindowViewModel(coins, true),
|
||||
};
|
||||
|
||||
// Allow the application to save the database when it exits.
|
||||
|
||||
Reference in new issue
Block a user