This commit is contained in:
esefxdz committed 2026-06-13 13:37:57 +03:00
1 parent 208da38586
commit 41a2648c6e
17 files changed
+1171 -216

No files matched your search

+2 -1
View File
@@ -29,7 +29,8 @@ class AdManager extends ChangeNotifier {
_preloadAd();
}
/// Internal helper to load an ad and return a Future when it's ready
/// Loads a rewarded ad in the background and returns a Future when ready.
/// Safe to call multiple times — re-entrant calls wait on the same load.
Future<bool> _preloadAd() async {
// If already loaded, return instantly
if (_isAdLoaded) return true;