refactor(android): root fragment manager usage (#6399)

This commit is contained in:
Manol Donev
2018-10-11 19:02:41 +03:00
committed by GitHub
parent 307172003d
commit 5b77017d37

View File

@ -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;