We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6f348d commit 84a6c30Copy full SHA for 84a6c30
packages/firebase-admob/nativead/index.android.ts
@@ -28,8 +28,8 @@ export class NativeAdView extends NativeAdViewBase implements AddChildFromBuilde
28
29
onLoaded(){
30
super.onLoaded();
31
- if(this.#child && this.#native.indexOfChild(this.#child.nativeView) === -1) {
32
- (this.#native as any).addView(this.#child.nativeView);
+ if (this.#child && (<any>this.#native).indexOfChild(this.#child.nativeView) === -1) {
+ (<any>this.#native).addView(this.#child.nativeView);
33
}
34
35
0 commit comments