Add API key management. #10
No files matched your search
@@ -17,11 +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 {
|
||||||
<<<<<<< HEAD
|
|
||||||
DataContext = new MainWindowViewModel(coins, true),
|
|
||||||
=======
|
|
||||||
DataContext = new MainWindowViewModel(coins, !coins.TryInitApiClient()),
|
DataContext = new MainWindowViewModel(coins, !coins.TryInitApiClient()),
|
||||||
>>>>>>> 4b2504b48ca36e20013134202175b826584eab21
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// 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