diff --git a/samples/admob/rewarded_example/lib/main.dart b/samples/admob/rewarded_example/lib/main.dart index 0133413df..01c667d9a 100644 --- a/samples/admob/rewarded_example/lib/main.dart +++ b/samples/admob/rewarded_example/lib/main.dart @@ -180,13 +180,14 @@ class RewardedExampleState extends State { )) .toList(), onSelected: (item) { + _pauseGame(); switch (item.value) { case 0: MobileAds.instance.openAdInspector((error) { // Error will be non-null if ad inspector closed due to an error. + _resumeGame(); }); case 1: - _pauseGame(); _consentManager.showPrivacyOptionsForm((formError) { if (formError != null) { debugPrint("${formError.errorCode}: ${formError.message}");