mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
refactor: update getSupportFragmentManager cast (#6155)
This commit is contained in:
@@ -280,7 +280,7 @@ export class View extends ViewCommon {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!manager && this._context) {
|
if (!manager && this._context) {
|
||||||
manager = (<android.support.v7.app.AppCompatActivity>this._context).getSupportFragmentManager();
|
manager = (<android.support.v4.app.FragmentActivity>this._context).getSupportFragmentManager();
|
||||||
}
|
}
|
||||||
|
|
||||||
this._manager = manager;
|
this._manager = manager;
|
||||||
|
|||||||
Reference in New Issue
Block a user