@api-client/ui 0.5.54 → 0.5.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/core/ActivityManager.d.ts.map +1 -1
- package/build/src/core/ActivityManager.js +3 -1
- package/build/src/core/ActivityManager.js.map +1 -1
- package/build/src/md/input/Input.d.ts +2 -0
- package/build/src/md/input/Input.d.ts.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/core/ActivityManager.ts +3 -1
package/package.json
CHANGED
|
@@ -373,7 +373,9 @@ export class ActivityManager {
|
|
|
373
373
|
await target.activity.onPause()
|
|
374
374
|
target.activity.lifecycle = ActivityLifecycle.Paused
|
|
375
375
|
}
|
|
376
|
-
|
|
376
|
+
// Let's create a shallow copy of the intent. We can disregard the ByReference flag here,
|
|
377
|
+
// as we override the data with the result data.
|
|
378
|
+
const intentCopy = { ...intent }
|
|
377
379
|
intentCopy.data = activity.getResult()
|
|
378
380
|
await target.activity.onActivityResult(requestCode, activity.resultCode, intentCopy)
|
|
379
381
|
}
|