diff --git a/.gitignore b/.gitignore index c20d3d20..bd4eb024 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ node_modules # NativeScript application hooks platforms +types diff --git a/.vscode/launch.json b/.vscode/launch.json deleted file mode 100644 index cf527720..00000000 --- a/.vscode/launch.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "name": "Launch on iOS", - "type": "nativescript", - "request": "launch", - "platform": "ios", - "appRoot": "${workspaceRoot}", - "sourceMaps": true, - "watch": true - }, - { - "name": "Test on iOS", - "type": "nativescript", - "request": "launch", - "platform": "ios", - "appRoot": "${workspaceRoot}", - "sourceMaps": true, - "watch": false, - "stopOnEntry": true, - "launchTests": true, - "tnsArgs": [ - "--justlaunch" - ] - }, - { - "name": "Attach on iOS", - "type": "nativescript", - "request": "attach", - "platform": "ios", - "appRoot": "${workspaceRoot}", - "sourceMaps": true, - "watch": false - }, - { - "name": "Launch on Android", - "type": "nativescript", - "request": "launch", - "platform": "android", - "appRoot": "${workspaceRoot}", - "sourceMaps": true, - "watch": true - }, - { - "name": "Test on Android", - "type": "nativescript", - "request": "launch", - "platform": "android", - "appRoot": "${workspaceRoot}", - "sourceMaps": true, - "watch": false, - "stopOnEntry": true, - "launchTests": true, - "tnsArgs": [ - "--justlaunch" - ] - }, - { - "name": "Attach on Android", - "type": "nativescript", - "request": "attach", - "platform": "android", - "appRoot": "${workspaceRoot}", - "sourceMaps": true, - "watch": false - } - ] -} \ No newline at end of file diff --git a/App_Resources/Android/app.gradle b/app/App_Resources/Android/app.gradle similarity index 100% rename from App_Resources/Android/app.gradle rename to app/App_Resources/Android/app.gradle diff --git a/App_Resources/Android/src/main/AndroidManifest.xml b/app/App_Resources/Android/src/main/AndroidManifest.xml similarity index 100% rename from App_Resources/Android/src/main/AndroidManifest.xml rename to app/App_Resources/Android/src/main/AndroidManifest.xml diff --git a/App_Resources/Android/src/main/res/PlayStore-Icon.png b/app/App_Resources/Android/src/main/res/PlayStore-Icon.png similarity index 100% rename from App_Resources/Android/src/main/res/PlayStore-Icon.png rename to app/App_Resources/Android/src/main/res/PlayStore-Icon.png diff --git a/App_Resources/Android/src/main/res/PlayStore-Icon@2x.png b/app/App_Resources/Android/src/main/res/PlayStore-Icon@2x.png similarity index 100% rename from App_Resources/Android/src/main/res/PlayStore-Icon@2x.png rename to app/App_Resources/Android/src/main/res/PlayStore-Icon@2x.png diff --git a/App_Resources/Android/src/main/res/drawable-anydpi-v26/ic_launcher.xml b/app/App_Resources/Android/src/main/res/drawable-anydpi-v26/ic_launcher.xml similarity index 100% rename from App_Resources/Android/src/main/res/drawable-anydpi-v26/ic_launcher.xml rename to app/App_Resources/Android/src/main/res/drawable-anydpi-v26/ic_launcher.xml diff --git a/App_Resources/Android/src/main/res/drawable-hdpi/camera.png b/app/App_Resources/Android/src/main/res/drawable-hdpi/camera.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-hdpi/camera.png rename to app/App_Resources/Android/src/main/res/drawable-hdpi/camera.png diff --git a/App_Resources/Android/src/main/res/drawable-hdpi/check.png b/app/App_Resources/Android/src/main/res/drawable-hdpi/check.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-hdpi/check.png rename to app/App_Resources/Android/src/main/res/drawable-hdpi/check.png diff --git a/App_Resources/Android/src/main/res/drawable-hdpi/detail.png b/app/App_Resources/Android/src/main/res/drawable-hdpi/detail.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-hdpi/detail.png rename to app/App_Resources/Android/src/main/res/drawable-hdpi/detail.png diff --git a/App_Resources/Android/src/main/res/drawable-hdpi/ic_launcher.png b/app/App_Resources/Android/src/main/res/drawable-hdpi/ic_launcher.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-hdpi/ic_launcher.png rename to app/App_Resources/Android/src/main/res/drawable-hdpi/ic_launcher.png diff --git a/App_Resources/Android/src/main/res/drawable-hdpi/ic_launcher_foreground.png b/app/App_Resources/Android/src/main/res/drawable-hdpi/ic_launcher_foreground.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-hdpi/ic_launcher_foreground.png rename to app/App_Resources/Android/src/main/res/drawable-hdpi/ic_launcher_foreground.png diff --git a/App_Resources/Android/src/main/res/drawable-hdpi/logo.png b/app/App_Resources/Android/src/main/res/drawable-hdpi/logo.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-hdpi/logo.png rename to app/App_Resources/Android/src/main/res/drawable-hdpi/logo.png diff --git a/App_Resources/Android/src/main/res/drawable-hdpi/photo.png b/app/App_Resources/Android/src/main/res/drawable-hdpi/photo.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-hdpi/photo.png rename to app/App_Resources/Android/src/main/res/drawable-hdpi/photo.png diff --git a/App_Resources/Android/src/main/res/drawable-hdpi/plus.png b/app/App_Resources/Android/src/main/res/drawable-hdpi/plus.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-hdpi/plus.png rename to app/App_Resources/Android/src/main/res/drawable-hdpi/plus.png diff --git a/App_Resources/Android/src/main/res/drawable-hdpi/share.png b/app/App_Resources/Android/src/main/res/drawable-hdpi/share.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-hdpi/share.png rename to app/App_Resources/Android/src/main/res/drawable-hdpi/share.png diff --git a/App_Resources/Android/src/main/res/drawable-ldpi/camera.png b/app/App_Resources/Android/src/main/res/drawable-ldpi/camera.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-ldpi/camera.png rename to app/App_Resources/Android/src/main/res/drawable-ldpi/camera.png diff --git a/App_Resources/Android/src/main/res/drawable-ldpi/check.png b/app/App_Resources/Android/src/main/res/drawable-ldpi/check.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-ldpi/check.png rename to app/App_Resources/Android/src/main/res/drawable-ldpi/check.png diff --git a/App_Resources/Android/src/main/res/drawable-ldpi/detail.png b/app/App_Resources/Android/src/main/res/drawable-ldpi/detail.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-ldpi/detail.png rename to app/App_Resources/Android/src/main/res/drawable-ldpi/detail.png diff --git a/App_Resources/Android/src/main/res/drawable-ldpi/ic_launcher.png b/app/App_Resources/Android/src/main/res/drawable-ldpi/ic_launcher.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-ldpi/ic_launcher.png rename to app/App_Resources/Android/src/main/res/drawable-ldpi/ic_launcher.png diff --git a/App_Resources/Android/src/main/res/drawable-ldpi/logo.png b/app/App_Resources/Android/src/main/res/drawable-ldpi/logo.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-ldpi/logo.png rename to app/App_Resources/Android/src/main/res/drawable-ldpi/logo.png diff --git a/App_Resources/Android/src/main/res/drawable-ldpi/photo.png b/app/App_Resources/Android/src/main/res/drawable-ldpi/photo.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-ldpi/photo.png rename to app/App_Resources/Android/src/main/res/drawable-ldpi/photo.png diff --git a/App_Resources/Android/src/main/res/drawable-ldpi/plus.png b/app/App_Resources/Android/src/main/res/drawable-ldpi/plus.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-ldpi/plus.png rename to app/App_Resources/Android/src/main/res/drawable-ldpi/plus.png diff --git a/App_Resources/Android/src/main/res/drawable-ldpi/share.png b/app/App_Resources/Android/src/main/res/drawable-ldpi/share.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-ldpi/share.png rename to app/App_Resources/Android/src/main/res/drawable-ldpi/share.png diff --git a/App_Resources/Android/src/main/res/drawable-mdpi/camera.png b/app/App_Resources/Android/src/main/res/drawable-mdpi/camera.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-mdpi/camera.png rename to app/App_Resources/Android/src/main/res/drawable-mdpi/camera.png diff --git a/App_Resources/Android/src/main/res/drawable-mdpi/check.png b/app/App_Resources/Android/src/main/res/drawable-mdpi/check.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-mdpi/check.png rename to app/App_Resources/Android/src/main/res/drawable-mdpi/check.png diff --git a/App_Resources/Android/src/main/res/drawable-mdpi/detail.png b/app/App_Resources/Android/src/main/res/drawable-mdpi/detail.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-mdpi/detail.png rename to app/App_Resources/Android/src/main/res/drawable-mdpi/detail.png diff --git a/App_Resources/Android/src/main/res/drawable-mdpi/ic_launcher.png b/app/App_Resources/Android/src/main/res/drawable-mdpi/ic_launcher.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-mdpi/ic_launcher.png rename to app/App_Resources/Android/src/main/res/drawable-mdpi/ic_launcher.png diff --git a/App_Resources/Android/src/main/res/drawable-mdpi/ic_launcher_foreground.png b/app/App_Resources/Android/src/main/res/drawable-mdpi/ic_launcher_foreground.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-mdpi/ic_launcher_foreground.png rename to app/App_Resources/Android/src/main/res/drawable-mdpi/ic_launcher_foreground.png diff --git a/App_Resources/Android/src/main/res/drawable-mdpi/logo.png b/app/App_Resources/Android/src/main/res/drawable-mdpi/logo.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-mdpi/logo.png rename to app/App_Resources/Android/src/main/res/drawable-mdpi/logo.png diff --git a/App_Resources/Android/src/main/res/drawable-mdpi/photo.png b/app/App_Resources/Android/src/main/res/drawable-mdpi/photo.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-mdpi/photo.png rename to app/App_Resources/Android/src/main/res/drawable-mdpi/photo.png diff --git a/App_Resources/Android/src/main/res/drawable-mdpi/plus.png b/app/App_Resources/Android/src/main/res/drawable-mdpi/plus.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-mdpi/plus.png rename to app/App_Resources/Android/src/main/res/drawable-mdpi/plus.png diff --git a/App_Resources/Android/src/main/res/drawable-mdpi/share.png b/app/App_Resources/Android/src/main/res/drawable-mdpi/share.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-mdpi/share.png rename to app/App_Resources/Android/src/main/res/drawable-mdpi/share.png diff --git a/App_Resources/Android/src/main/res/drawable-nodpi/splash_screen.xml b/app/App_Resources/Android/src/main/res/drawable-nodpi/splash_screen.xml similarity index 100% rename from App_Resources/Android/src/main/res/drawable-nodpi/splash_screen.xml rename to app/App_Resources/Android/src/main/res/drawable-nodpi/splash_screen.xml diff --git a/App_Resources/Android/src/main/res/drawable-xhdpi/camera.png b/app/App_Resources/Android/src/main/res/drawable-xhdpi/camera.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-xhdpi/camera.png rename to app/App_Resources/Android/src/main/res/drawable-xhdpi/camera.png diff --git a/App_Resources/Android/src/main/res/drawable-xhdpi/check.png b/app/App_Resources/Android/src/main/res/drawable-xhdpi/check.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-xhdpi/check.png rename to app/App_Resources/Android/src/main/res/drawable-xhdpi/check.png diff --git a/App_Resources/Android/src/main/res/drawable-xhdpi/detail.png b/app/App_Resources/Android/src/main/res/drawable-xhdpi/detail.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-xhdpi/detail.png rename to app/App_Resources/Android/src/main/res/drawable-xhdpi/detail.png diff --git a/App_Resources/Android/src/main/res/drawable-xhdpi/ic_launcher.png b/app/App_Resources/Android/src/main/res/drawable-xhdpi/ic_launcher.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-xhdpi/ic_launcher.png rename to app/App_Resources/Android/src/main/res/drawable-xhdpi/ic_launcher.png diff --git a/App_Resources/Android/src/main/res/drawable-xhdpi/ic_launcher_foreground.png b/app/App_Resources/Android/src/main/res/drawable-xhdpi/ic_launcher_foreground.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-xhdpi/ic_launcher_foreground.png rename to app/App_Resources/Android/src/main/res/drawable-xhdpi/ic_launcher_foreground.png diff --git a/App_Resources/Android/src/main/res/drawable-xhdpi/logo.png b/app/App_Resources/Android/src/main/res/drawable-xhdpi/logo.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-xhdpi/logo.png rename to app/App_Resources/Android/src/main/res/drawable-xhdpi/logo.png diff --git a/App_Resources/Android/src/main/res/drawable-xhdpi/photo.png b/app/App_Resources/Android/src/main/res/drawable-xhdpi/photo.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-xhdpi/photo.png rename to app/App_Resources/Android/src/main/res/drawable-xhdpi/photo.png diff --git a/App_Resources/Android/src/main/res/drawable-xhdpi/plus.png b/app/App_Resources/Android/src/main/res/drawable-xhdpi/plus.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-xhdpi/plus.png rename to app/App_Resources/Android/src/main/res/drawable-xhdpi/plus.png diff --git a/App_Resources/Android/src/main/res/drawable-xhdpi/share.png b/app/App_Resources/Android/src/main/res/drawable-xhdpi/share.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-xhdpi/share.png rename to app/App_Resources/Android/src/main/res/drawable-xhdpi/share.png diff --git a/App_Resources/Android/src/main/res/drawable-xxhdpi/camera.png b/app/App_Resources/Android/src/main/res/drawable-xxhdpi/camera.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-xxhdpi/camera.png rename to app/App_Resources/Android/src/main/res/drawable-xxhdpi/camera.png diff --git a/App_Resources/Android/src/main/res/drawable-xxhdpi/check.png b/app/App_Resources/Android/src/main/res/drawable-xxhdpi/check.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-xxhdpi/check.png rename to app/App_Resources/Android/src/main/res/drawable-xxhdpi/check.png diff --git a/App_Resources/Android/src/main/res/drawable-xxhdpi/detail.png b/app/App_Resources/Android/src/main/res/drawable-xxhdpi/detail.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-xxhdpi/detail.png rename to app/App_Resources/Android/src/main/res/drawable-xxhdpi/detail.png diff --git a/App_Resources/Android/src/main/res/drawable-xxhdpi/ic_launcher.png b/app/App_Resources/Android/src/main/res/drawable-xxhdpi/ic_launcher.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-xxhdpi/ic_launcher.png rename to app/App_Resources/Android/src/main/res/drawable-xxhdpi/ic_launcher.png diff --git a/App_Resources/Android/src/main/res/drawable-xxhdpi/ic_launcher_foreground.png b/app/App_Resources/Android/src/main/res/drawable-xxhdpi/ic_launcher_foreground.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-xxhdpi/ic_launcher_foreground.png rename to app/App_Resources/Android/src/main/res/drawable-xxhdpi/ic_launcher_foreground.png diff --git a/App_Resources/Android/src/main/res/drawable-xxhdpi/logo.png b/app/App_Resources/Android/src/main/res/drawable-xxhdpi/logo.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-xxhdpi/logo.png rename to app/App_Resources/Android/src/main/res/drawable-xxhdpi/logo.png diff --git a/App_Resources/Android/src/main/res/drawable-xxhdpi/photo.png b/app/App_Resources/Android/src/main/res/drawable-xxhdpi/photo.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-xxhdpi/photo.png rename to app/App_Resources/Android/src/main/res/drawable-xxhdpi/photo.png diff --git a/App_Resources/Android/src/main/res/drawable-xxhdpi/plus.png b/app/App_Resources/Android/src/main/res/drawable-xxhdpi/plus.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-xxhdpi/plus.png rename to app/App_Resources/Android/src/main/res/drawable-xxhdpi/plus.png diff --git a/App_Resources/Android/src/main/res/drawable-xxhdpi/share.png b/app/App_Resources/Android/src/main/res/drawable-xxhdpi/share.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-xxhdpi/share.png rename to app/App_Resources/Android/src/main/res/drawable-xxhdpi/share.png diff --git a/App_Resources/Android/src/main/res/drawable-xxxhdpi/camera.png b/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/camera.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-xxxhdpi/camera.png rename to app/App_Resources/Android/src/main/res/drawable-xxxhdpi/camera.png diff --git a/App_Resources/Android/src/main/res/drawable-xxxhdpi/check.png b/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/check.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-xxxhdpi/check.png rename to app/App_Resources/Android/src/main/res/drawable-xxxhdpi/check.png diff --git a/App_Resources/Android/src/main/res/drawable-xxxhdpi/detail.png b/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/detail.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-xxxhdpi/detail.png rename to app/App_Resources/Android/src/main/res/drawable-xxxhdpi/detail.png diff --git a/App_Resources/Android/src/main/res/drawable-xxxhdpi/ic_launcher.png b/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/ic_launcher.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-xxxhdpi/ic_launcher.png rename to app/App_Resources/Android/src/main/res/drawable-xxxhdpi/ic_launcher.png diff --git a/App_Resources/Android/src/main/res/drawable-xxxhdpi/ic_launcher_foreground.png b/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/ic_launcher_foreground.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-xxxhdpi/ic_launcher_foreground.png rename to app/App_Resources/Android/src/main/res/drawable-xxxhdpi/ic_launcher_foreground.png diff --git a/App_Resources/Android/src/main/res/drawable-xxxhdpi/logo.png b/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/logo.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-xxxhdpi/logo.png rename to app/App_Resources/Android/src/main/res/drawable-xxxhdpi/logo.png diff --git a/App_Resources/Android/src/main/res/drawable-xxxhdpi/photo.png b/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/photo.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-xxxhdpi/photo.png rename to app/App_Resources/Android/src/main/res/drawable-xxxhdpi/photo.png diff --git a/App_Resources/Android/src/main/res/drawable-xxxhdpi/plus.png b/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/plus.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-xxxhdpi/plus.png rename to app/App_Resources/Android/src/main/res/drawable-xxxhdpi/plus.png diff --git a/App_Resources/Android/src/main/res/drawable-xxxhdpi/share.png b/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/share.png similarity index 100% rename from App_Resources/Android/src/main/res/drawable-xxxhdpi/share.png rename to app/App_Resources/Android/src/main/res/drawable-xxxhdpi/share.png diff --git a/App_Resources/Android/src/main/res/values-v21/colors.xml b/app/App_Resources/Android/src/main/res/values-v21/colors.xml similarity index 100% rename from App_Resources/Android/src/main/res/values-v21/colors.xml rename to app/App_Resources/Android/src/main/res/values-v21/colors.xml diff --git a/App_Resources/Android/src/main/res/values-v21/styles.xml b/app/App_Resources/Android/src/main/res/values-v21/styles.xml similarity index 100% rename from App_Resources/Android/src/main/res/values-v21/styles.xml rename to app/App_Resources/Android/src/main/res/values-v21/styles.xml diff --git a/App_Resources/Android/src/main/res/values-v29/styles.xml b/app/App_Resources/Android/src/main/res/values-v29/styles.xml similarity index 100% rename from App_Resources/Android/src/main/res/values-v29/styles.xml rename to app/App_Resources/Android/src/main/res/values-v29/styles.xml diff --git a/App_Resources/Android/src/main/res/values/colors.xml b/app/App_Resources/Android/src/main/res/values/colors.xml similarity index 100% rename from App_Resources/Android/src/main/res/values/colors.xml rename to app/App_Resources/Android/src/main/res/values/colors.xml diff --git a/App_Resources/Android/src/main/res/values/strings.xml b/app/App_Resources/Android/src/main/res/values/strings.xml similarity index 100% rename from App_Resources/Android/src/main/res/values/strings.xml rename to app/App_Resources/Android/src/main/res/values/strings.xml diff --git a/App_Resources/Android/src/main/res/values/styles.xml b/app/App_Resources/Android/src/main/res/values/styles.xml similarity index 100% rename from App_Resources/Android/src/main/res/values/styles.xml rename to app/App_Resources/Android/src/main/res/values/styles.xml diff --git a/app/components/Settings.vue b/app/components/Settings.vue index 3f05317d..34620b3c 100644 --- a/app/components/Settings.vue +++ b/app/components/Settings.vue @@ -256,7 +256,7 @@ export default { importCheck() { this.permissionCheck( this.permissionConfirmation, - "EnRecipes requires storage permission in order to restore your data from a previous backup.", + "EnRecipes requires storage permission in order to import your data from a previous backup.", this.openFilePicker ) }, diff --git a/app/store.js b/app/store.js index dc0f2521..7d5008ca 100644 --- a/app/store.js +++ b/app/store.js @@ -11,7 +11,7 @@ const mealPlansDB = new Couchbase("mealPlans") Vue.use(Vuex) -let defaultCategories = [ +const defaultCategories = [ "Appetizers", "BBQ", "Beverages", @@ -38,7 +38,7 @@ let defaultCategories = [ "Vegan", "Vegetarian", ] -let defaultYieldUnits = [ +const defaultYieldUnits = [ "Serving", "Piece", "Teaspoon", @@ -59,58 +59,7 @@ let defaultYieldUnits = [ export default new Vuex.Store({ state: { - recipes: [ - // { - // imageSrc: null, - // title: "Mushroom & Spinach Risotto", - // category: "Lunch", - // timeRequired: "01:45", - // yield: { - // quantity: 1, - // unit: "Serving", - // }, - // ingredients: [ - // { - // item: "reduced-sodium chicken broth", - // unit: "cup", - // quantity: "5.25", - // }, - // { item: "sliced fresh mushrooms", unit: "cup", quantity: "2.5" }, - // { item: "medium onion, finely chopped", unit: "unit", quantity: "1" }, - // { item: "butter", unit: "Tbsp", quantity: "3" }, - // { item: "Garlic", unit: "unit", quantity: "3" }, - // { - // item: "white wine or reduced-sodium chicken broth", - // unit: "l", - // quantity: ".75", - // }, - // { item: "heavy whipping cream", unit: "cup", quantity: "1" }, - // { item: "uncooked arborio rice", unit: "cup", quantity: "1.75" }, - // { item: "olive oil", unit: "Tbsp", quantity: "2" }, - // { - // item: "frozen chopped spinach, thawed and squeezed dry", - // unit: "cup", - // quantity: "1.5", - // }, - // { item: "pepper", unit: "tsp", quantity: ".5" }, - // { item: "Salt", unit: "tsp", quantity: ".25" }, - // { item: "grated Parmesan cheese", unit: "cup", quantity: "1" }, - // ], - // instructions: [ - // "In a large saucepan, heat broth and keep warm. In a large skillet, saute mushrooms and onion in butter until tender. Add garlic; cook 1 minute longer. Stir in wine. Bring to a boil; cook until liquid is reduced by half. Add cream; cook and stir over medium heat until slightly thickened", - // "In a large saucepan, saute rice in oil for 2-3 minutes or until rice is lightly browned. Stir in 1/2 cup hot broth. Reduce heat; cook and stir for 20 minutes or until broth is absorbed.", - // "Continue adding hot broth, 1/2 cup at a time, and stirring until all the broth has been absorbed and rice is tender but firm. Add the mushroom mixture, spinach, pepper, salt and grated Parmesan cheese; cook and stir until heated through. If desired, sprinkle with parsley and shaved Parmesan cheese. Serve immediately.", - // ], - // notes: [ - // "Nutrition Facts: 3/4 cup: 409 calories, 22g fat (12g saturated fat), 61mg cholesterol, 667mg sodium, 41g carbohydrate (3g sugars, 2g fiber), 11g protein.", - // ], - // isFavorite: false, - // tried: false, - // lastTried: "2020-10-28T18:19:06.528Z", - // lastModified: "2020-10-28T06:19:06.528Z", - // id: "57qm8oqxdr", - // }, - ], + recipes: [], categories: [], userCategories: [], units: [ diff --git a/nativescript.config.ts b/nativescript.config.ts index fe405229..b2f8657d 100644 --- a/nativescript.config.ts +++ b/nativescript.config.ts @@ -2,7 +2,7 @@ import { NativeScriptConfig } from "@nativescript/core" export default { id: "com.vishnuraghav.enrecipes", - appResourcesPath: "App_Resources", + appResourcesPath: "app/App_Resources", android: { v8Flags: "--expose_gc", markingMode: "none",