mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore: Nx 17+ (#10449)
This commit is contained in:
@@ -22,10 +22,11 @@ export class DemoModel extends Observable {
|
||||
.then(() => {
|
||||
return context.present();
|
||||
})
|
||||
.then((selection) => {
|
||||
const imageAsset = selection.length > 0 ? selection[0] : null;
|
||||
if (imageAsset) {
|
||||
.then((selections) => {
|
||||
const selection = selections.length > 0 ? selections[0] : null;
|
||||
if (selection) {
|
||||
this.addingPhoto = true;
|
||||
const imageAsset = selection.asset;
|
||||
|
||||
ImageSource.fromAsset(imageAsset).then(
|
||||
(savedImage) => {
|
||||
|
||||
Reference in New Issue
Block a user