fix platform specific code not working on web
This commit is contained in:
parent
281ea863e8
commit
5135629b33
11 changed files with 29 additions and 14 deletions
|
|
@ -547,7 +547,7 @@ class _BuildLoyaltyCardListState extends State<BuildLoyaltyCardList> {
|
|||
),
|
||||
),
|
||||
SizedBox(height: 10),
|
||||
if (Platform.isAndroid || Platform.isIOS) MihBannerAd()
|
||||
if (!kIsWeb && (Platform.isAndroid || Platform.isIOS)) MihBannerAd()
|
||||
// MihBannerAd(),
|
||||
],
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue