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:
@@ -11,8 +11,8 @@
|
||||
"nativescript-theme-core": "file:../../node_modules/nativescript-theme-core"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@nativescript/android": "~8.5.0",
|
||||
"@nativescript/ios": "~8.5.0",
|
||||
"@nativescript/android": "~8.6.0",
|
||||
"@nativescript/ios": "~8.6.0",
|
||||
"@nativescript/webpack": "file:../../dist/packages/nativescript-webpack.tgz",
|
||||
"circular-dependency-plugin": "^5.2.2",
|
||||
"typescript": "~5.2.0"
|
||||
|
||||
@@ -9,11 +9,11 @@
|
||||
"dependencies": {
|
||||
"@nativescript/core": "file:../../packages/core",
|
||||
"nativescript-theme-core": "file:../../node_modules/nativescript-theme-core",
|
||||
"@nativescript/imagepicker": "^1.0.6"
|
||||
"@nativescript/imagepicker": "^3.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@nativescript/android": "~8.5.0",
|
||||
"@nativescript/ios": "~8.5.0",
|
||||
"@nativescript/android": "~8.6.0",
|
||||
"@nativescript/ios": "~8.6.0",
|
||||
"@nativescript/webpack": "file:../../dist/packages/nativescript-webpack.tgz",
|
||||
"typescript": "~5.2.0"
|
||||
}
|
||||
|
||||
@@ -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) => {
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
"@nativescript/core": "file:../../packages/core"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@nativescript/android": "~8.5.0",
|
||||
"@nativescript/ios": "~8.5.0",
|
||||
"@nativescript/android": "~8.6.0",
|
||||
"@nativescript/ios": "~8.6.0",
|
||||
"@nativescript/webpack": "file:../../dist/packages/nativescript-webpack.tgz",
|
||||
"typescript": "~5.2.0"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user