mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 03:31:45 +08:00
refactor(android): root fragment manager usage (#6399)
This commit is contained in:
@ -314,8 +314,8 @@ export class View extends ViewCommon {
|
|||||||
view = view.parent as View;
|
view = view.parent as View;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!manager && this._context) {
|
if (!manager) {
|
||||||
manager = (<android.support.v4.app.FragmentActivity>this._context).getSupportFragmentManager();
|
manager = this._getRootFragmentManager();
|
||||||
}
|
}
|
||||||
|
|
||||||
this._manager = manager;
|
this._manager = manager;
|
||||||
|
Reference in New Issue
Block a user