Beispiel #1
0
        private async Task PopulateCollection()
        {
            ImportedCards importedCards = await new GoogleSheetsImporter(defaultSprite).FetchCards();

            Cards        = importedCards.cards;
            SpecialCards = importedCards.specialCards;
            if (Cards == null || Cards.Count == 0)
            {
                PopulateFallback();
            }
            VerifySpecialCards();
        }
Beispiel #2
0
        private async Task PopulateCollection()
        {
            ImportedCards importedCards =
                await new CollectionImporter(defaultSprite, loadRemoteCollectionFirst).Import();

            Cards        = importedCards.cards;
            SpecialCards = importedCards.specialCards;
            if (Cards == null || Cards.Count == 0)
            {
                PopulateFallback();
            }
            VerifySpecialCards();
        }