Add API key management. #10
@@ -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.
|
||||||
|
|||||||
Reference in new issue
Block a user