Skip to content

Commit

Permalink
Update homeScreen.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
Enderjua committed Apr 22, 2024
1 parent b560e57 commit 9bf834a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/screens/homeScreen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -747,8 +747,8 @@ class _HomeScreenState extends State<HomeScreen> {
void _createInterstitialAd() {
InterstitialAd.load(
adUnitId: Platform.isAndroid
? 'ca-app-pub-8464918632664675/4268074491'
: 'ca-app-pub-3940256099942544/4411468910',
? 'ad id'
: 'ad id',
request: request,
adLoadCallback: InterstitialAdLoadCallback(
onAdLoaded: (InterstitialAd ad) {
Expand Down Expand Up @@ -799,8 +799,8 @@ class _HomeScreenState extends State<HomeScreen> {
if (_rewardedInterstitialAd != null) return; //
RewardedInterstitialAd.load(
adUnitId: Platform.isAndroid
? 'ca-app-pub-8464918632664675/8622252472'
: 'ca-app-pub-3940256099942544/6978759866',
? 'ad id'
: 'ad id',
request: request,
rewardedInterstitialAdLoadCallback: RewardedInterstitialAdLoadCallback(
onAdLoaded: (RewardedInterstitialAd ad) {
Expand Down

0 comments on commit 9bf834a

Please sign in to comment.