Skip to content

Commit a930f30

Browse files
committed
fix(ionic-portals): show in modal
1 parent d638bfa commit a930f30

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

packages/ionic-portals/index.android.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,7 @@ export class IonicPortal extends IonicPortalCommon {
4242
}
4343

4444
this.nativeViewProtected.setId(this._androidViewId);
45-
}
4645

47-
public onLoaded(): void {
48-
super.onLoaded();
49-
this.nativeViewProtected.loadPortal(this._context, null);
46+
this.nativeViewProtected.loadPortal(this._getFragmentManager() ?? this._context, null);
5047
}
5148
}
Binary file not shown.

0 commit comments

Comments
 (0)