internal async void ShowImportDialog(bool brawl)
        {
            DeckImportingFlyout.Reset(brawl);
            FlyoutDeckImporting.IsOpen = true;
            if (!Core.Game.IsRunning)
            {
                Log.Info("Waiting for game...");
                while (!Core.Game.IsRunning)
                {
                    await Task.Delay(500);
                }
            }
            DeckImportingFlyout.StartedGame();
            var mode = brawl ? Mode.TAVERN_BRAWL : Mode.TOURNAMENT;

            if (Core.Game.CurrentMode != mode)
            {
                Log.Info($"Waiting for {mode} screen...");
                while (Core.Game.CurrentMode != mode)
                {
                    await Task.Delay(500);
                }
            }
            var decks = brawl ? DeckImporter.FromBrawl() : DeckImporter.FromConstructed();

            DeckImportingFlyout.SetDecks(decks);
            Core.MainWindow.ActivateWindow();
        }
        public static bool AutoImportConstructed(bool select, bool brawl = false)
        {
            var decks = brawl ? DeckImporter.FromBrawl() : DeckImporter.FromConstructed();

            if (decks.Any() && (Config.Instance.ConstructedAutoImportNew || Config.Instance.ConstructedAutoUpdate))
            {
                ImportDecks(decks, brawl, Config.Instance.ConstructedAutoImportNew, Config.Instance.ConstructedAutoUpdate, select);
                return(true);
            }
            return(false);
        }