This commit is contained in:
2025-06-30 12:30:20 +02:00
parent 9a19818056
commit d040ed2a35
3 changed files with 11 additions and 4 deletions

View File

@@ -41,7 +41,7 @@ class _MihCardsState extends State<MihCards> {
final FocusNode searchFocusNode = FocusNode();
final _formKey = GlobalKey<FormState>();
late Future<List<MIHLoyaltyCard>> cardList;
late MihBannerAd _bannerAd;
MihBannerAd _bannerAd = MihBannerAd();
List<MIHLoyaltyCard> listOfCards = [];
//bool showSelectedCardType = false;
final ValueNotifier<String> shopName = ValueNotifier("");
@@ -311,7 +311,6 @@ class _MihCardsState extends State<MihCards> {
@override
void initState() {
_bannerAd = MihBannerAd();
cardList = MIHMzansiWalletApis.getLoyaltyCards(widget.signedInUser.app_id);
shopController.addListener(shopSelected);
cardSearchController.addListener(searchShop);