Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pozirk committed Jan 5, 2025
1 parent a8518a0 commit 4e4cb1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extension/admob/ios/AdmobIOS.hx
Original file line number Diff line number Diff line change
Expand Up @@ -228,14 +228,14 @@ class AdmobIOS
*/
public static function dispatchEvent(status:String, data:String):Void
{
if(_onStatus)
if(_onStatus != null)
_onStatus(status, data);
}

/**
* I don't how to describe this
*/
private static function dispatchFrustration(status:String):Void
private static function dispatchFrustration():Void
{
dispatchEvent(status, "Admob extension is not initialized");
}
Expand Down

0 comments on commit 4e4cb1f

Please sign in to comment.