mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +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;
|
||||
}
|
||||
|
||||
if (!manager && this._context) {
|
||||
manager = (<android.support.v4.app.FragmentActivity>this._context).getSupportFragmentManager();
|
||||
if (!manager) {
|
||||
manager = this._getRootFragmentManager();
|
||||
}
|
||||
|
||||
this._manager = manager;
|
||||
|
Reference in New Issue
Block a user