mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
fix: check is disposed fragment is in the FragmentManager (#8201)
This commit is contained in:
committed by
GitHub
parent
d1858f81b7
commit
4b00376957
@@ -155,6 +155,8 @@ function initializeDialogFragment() {
|
||||
const ownerId = this.getArguments().getInt(DOMID);
|
||||
const options = getModalOptions(ownerId);
|
||||
this.owner = options.owner;
|
||||
// Set owner._dialogFragment to this in case the DialogFragment was recreated after app suspend
|
||||
this.owner._dialogFragment = this;
|
||||
this._fullscreen = options.fullscreen;
|
||||
this._animated = options.animated;
|
||||
this._cancelable = options.cancelable;
|
||||
|
||||
Reference in New Issue
Block a user