diff --git a/app/App_Resources/Android/app.gradle b/App_Resources/Android/app.gradle
similarity index 100%
rename from app/App_Resources/Android/app.gradle
rename to App_Resources/Android/app.gradle
diff --git a/app/App_Resources/Android/src/main/AndroidManifest.xml b/App_Resources/Android/src/main/AndroidManifest.xml
similarity index 89%
rename from app/App_Resources/Android/src/main/AndroidManifest.xml
rename to App_Resources/Android/src/main/AndroidManifest.xml
index 76ecbcfa..ce9087eb 100644
--- a/app/App_Resources/Android/src/main/AndroidManifest.xml
+++ b/App_Resources/Android/src/main/AndroidManifest.xml
@@ -10,7 +10,7 @@
-
+
diff --git a/app/App_Resources/Android/src/main/res/PlayStore-Icon.png b/App_Resources/Android/src/main/res/PlayStore-Icon.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/PlayStore-Icon.png
rename to App_Resources/Android/src/main/res/PlayStore-Icon.png
diff --git a/app/App_Resources/Android/src/main/res/PlayStore-Icon@2x.png b/App_Resources/Android/src/main/res/PlayStore-Icon@2x.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/PlayStore-Icon@2x.png
rename to App_Resources/Android/src/main/res/PlayStore-Icon@2x.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-anydpi-v26/ic_launcher.xml b/App_Resources/Android/src/main/res/drawable-anydpi-v26/ic_launcher.xml
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-anydpi-v26/ic_launcher.xml
rename to App_Resources/Android/src/main/res/drawable-anydpi-v26/ic_launcher.xml
diff --git a/app/App_Resources/Android/src/main/res/drawable-hdpi/camera.png b/App_Resources/Android/src/main/res/drawable-hdpi/camera.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-hdpi/camera.png
rename to App_Resources/Android/src/main/res/drawable-hdpi/camera.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-hdpi/check.png b/App_Resources/Android/src/main/res/drawable-hdpi/check.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-hdpi/check.png
rename to App_Resources/Android/src/main/res/drawable-hdpi/check.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-hdpi/detail.png b/App_Resources/Android/src/main/res/drawable-hdpi/detail.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-hdpi/detail.png
rename to App_Resources/Android/src/main/res/drawable-hdpi/detail.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-hdpi/ic_launcher.png b/App_Resources/Android/src/main/res/drawable-hdpi/ic_launcher.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-hdpi/ic_launcher.png
rename to App_Resources/Android/src/main/res/drawable-hdpi/ic_launcher.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-hdpi/ic_launcher_foreground.png b/App_Resources/Android/src/main/res/drawable-hdpi/ic_launcher_foreground.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-hdpi/ic_launcher_foreground.png
rename to App_Resources/Android/src/main/res/drawable-hdpi/ic_launcher_foreground.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-hdpi/logo.png b/App_Resources/Android/src/main/res/drawable-hdpi/logo.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-hdpi/logo.png
rename to App_Resources/Android/src/main/res/drawable-hdpi/logo.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-hdpi/photo.png b/App_Resources/Android/src/main/res/drawable-hdpi/photo.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-hdpi/photo.png
rename to App_Resources/Android/src/main/res/drawable-hdpi/photo.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-hdpi/plus.png b/App_Resources/Android/src/main/res/drawable-hdpi/plus.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-hdpi/plus.png
rename to App_Resources/Android/src/main/res/drawable-hdpi/plus.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-hdpi/share.png b/App_Resources/Android/src/main/res/drawable-hdpi/share.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-hdpi/share.png
rename to App_Resources/Android/src/main/res/drawable-hdpi/share.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-ldpi/camera.png b/App_Resources/Android/src/main/res/drawable-ldpi/camera.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-ldpi/camera.png
rename to App_Resources/Android/src/main/res/drawable-ldpi/camera.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-ldpi/check.png b/App_Resources/Android/src/main/res/drawable-ldpi/check.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-ldpi/check.png
rename to App_Resources/Android/src/main/res/drawable-ldpi/check.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-ldpi/detail.png b/App_Resources/Android/src/main/res/drawable-ldpi/detail.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-ldpi/detail.png
rename to App_Resources/Android/src/main/res/drawable-ldpi/detail.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-ldpi/ic_launcher.png b/App_Resources/Android/src/main/res/drawable-ldpi/ic_launcher.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-ldpi/ic_launcher.png
rename to App_Resources/Android/src/main/res/drawable-ldpi/ic_launcher.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-ldpi/logo.png b/App_Resources/Android/src/main/res/drawable-ldpi/logo.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-ldpi/logo.png
rename to App_Resources/Android/src/main/res/drawable-ldpi/logo.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-ldpi/photo.png b/App_Resources/Android/src/main/res/drawable-ldpi/photo.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-ldpi/photo.png
rename to App_Resources/Android/src/main/res/drawable-ldpi/photo.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-ldpi/plus.png b/App_Resources/Android/src/main/res/drawable-ldpi/plus.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-ldpi/plus.png
rename to App_Resources/Android/src/main/res/drawable-ldpi/plus.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-ldpi/share.png b/App_Resources/Android/src/main/res/drawable-ldpi/share.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-ldpi/share.png
rename to App_Resources/Android/src/main/res/drawable-ldpi/share.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-mdpi/camera.png b/App_Resources/Android/src/main/res/drawable-mdpi/camera.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-mdpi/camera.png
rename to App_Resources/Android/src/main/res/drawable-mdpi/camera.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-mdpi/check.png b/App_Resources/Android/src/main/res/drawable-mdpi/check.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-mdpi/check.png
rename to App_Resources/Android/src/main/res/drawable-mdpi/check.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-mdpi/detail.png b/App_Resources/Android/src/main/res/drawable-mdpi/detail.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-mdpi/detail.png
rename to App_Resources/Android/src/main/res/drawable-mdpi/detail.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-mdpi/ic_launcher.png b/App_Resources/Android/src/main/res/drawable-mdpi/ic_launcher.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-mdpi/ic_launcher.png
rename to App_Resources/Android/src/main/res/drawable-mdpi/ic_launcher.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-mdpi/ic_launcher_foreground.png b/App_Resources/Android/src/main/res/drawable-mdpi/ic_launcher_foreground.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-mdpi/ic_launcher_foreground.png
rename to App_Resources/Android/src/main/res/drawable-mdpi/ic_launcher_foreground.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-mdpi/logo.png b/App_Resources/Android/src/main/res/drawable-mdpi/logo.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-mdpi/logo.png
rename to App_Resources/Android/src/main/res/drawable-mdpi/logo.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-mdpi/photo.png b/App_Resources/Android/src/main/res/drawable-mdpi/photo.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-mdpi/photo.png
rename to App_Resources/Android/src/main/res/drawable-mdpi/photo.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-mdpi/plus.png b/App_Resources/Android/src/main/res/drawable-mdpi/plus.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-mdpi/plus.png
rename to App_Resources/Android/src/main/res/drawable-mdpi/plus.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-mdpi/share.png b/App_Resources/Android/src/main/res/drawable-mdpi/share.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-mdpi/share.png
rename to App_Resources/Android/src/main/res/drawable-mdpi/share.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-nodpi/splash_screen.xml b/App_Resources/Android/src/main/res/drawable-nodpi/splash_screen.xml
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-nodpi/splash_screen.xml
rename to App_Resources/Android/src/main/res/drawable-nodpi/splash_screen.xml
diff --git a/app/App_Resources/Android/src/main/res/drawable-xhdpi/camera.png b/App_Resources/Android/src/main/res/drawable-xhdpi/camera.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-xhdpi/camera.png
rename to App_Resources/Android/src/main/res/drawable-xhdpi/camera.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-xhdpi/check.png b/App_Resources/Android/src/main/res/drawable-xhdpi/check.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-xhdpi/check.png
rename to App_Resources/Android/src/main/res/drawable-xhdpi/check.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-xhdpi/detail.png b/App_Resources/Android/src/main/res/drawable-xhdpi/detail.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-xhdpi/detail.png
rename to App_Resources/Android/src/main/res/drawable-xhdpi/detail.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-xhdpi/ic_launcher.png b/App_Resources/Android/src/main/res/drawable-xhdpi/ic_launcher.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-xhdpi/ic_launcher.png
rename to App_Resources/Android/src/main/res/drawable-xhdpi/ic_launcher.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-xhdpi/ic_launcher_foreground.png b/App_Resources/Android/src/main/res/drawable-xhdpi/ic_launcher_foreground.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-xhdpi/ic_launcher_foreground.png
rename to App_Resources/Android/src/main/res/drawable-xhdpi/ic_launcher_foreground.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-xhdpi/logo.png b/App_Resources/Android/src/main/res/drawable-xhdpi/logo.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-xhdpi/logo.png
rename to App_Resources/Android/src/main/res/drawable-xhdpi/logo.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-xhdpi/photo.png b/App_Resources/Android/src/main/res/drawable-xhdpi/photo.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-xhdpi/photo.png
rename to App_Resources/Android/src/main/res/drawable-xhdpi/photo.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-xhdpi/plus.png b/App_Resources/Android/src/main/res/drawable-xhdpi/plus.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-xhdpi/plus.png
rename to App_Resources/Android/src/main/res/drawable-xhdpi/plus.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-xhdpi/share.png b/App_Resources/Android/src/main/res/drawable-xhdpi/share.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-xhdpi/share.png
rename to App_Resources/Android/src/main/res/drawable-xhdpi/share.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-xxhdpi/camera.png b/App_Resources/Android/src/main/res/drawable-xxhdpi/camera.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-xxhdpi/camera.png
rename to App_Resources/Android/src/main/res/drawable-xxhdpi/camera.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-xxhdpi/check.png b/App_Resources/Android/src/main/res/drawable-xxhdpi/check.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-xxhdpi/check.png
rename to App_Resources/Android/src/main/res/drawable-xxhdpi/check.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-xxhdpi/detail.png b/App_Resources/Android/src/main/res/drawable-xxhdpi/detail.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-xxhdpi/detail.png
rename to App_Resources/Android/src/main/res/drawable-xxhdpi/detail.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-xxhdpi/ic_launcher.png b/App_Resources/Android/src/main/res/drawable-xxhdpi/ic_launcher.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-xxhdpi/ic_launcher.png
rename to App_Resources/Android/src/main/res/drawable-xxhdpi/ic_launcher.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-xxhdpi/ic_launcher_foreground.png b/App_Resources/Android/src/main/res/drawable-xxhdpi/ic_launcher_foreground.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-xxhdpi/ic_launcher_foreground.png
rename to App_Resources/Android/src/main/res/drawable-xxhdpi/ic_launcher_foreground.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-xxhdpi/logo.png b/App_Resources/Android/src/main/res/drawable-xxhdpi/logo.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-xxhdpi/logo.png
rename to App_Resources/Android/src/main/res/drawable-xxhdpi/logo.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-xxhdpi/photo.png b/App_Resources/Android/src/main/res/drawable-xxhdpi/photo.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-xxhdpi/photo.png
rename to App_Resources/Android/src/main/res/drawable-xxhdpi/photo.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-xxhdpi/plus.png b/App_Resources/Android/src/main/res/drawable-xxhdpi/plus.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-xxhdpi/plus.png
rename to App_Resources/Android/src/main/res/drawable-xxhdpi/plus.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-xxhdpi/share.png b/App_Resources/Android/src/main/res/drawable-xxhdpi/share.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-xxhdpi/share.png
rename to App_Resources/Android/src/main/res/drawable-xxhdpi/share.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/camera.png b/App_Resources/Android/src/main/res/drawable-xxxhdpi/camera.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-xxxhdpi/camera.png
rename to App_Resources/Android/src/main/res/drawable-xxxhdpi/camera.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/check.png b/App_Resources/Android/src/main/res/drawable-xxxhdpi/check.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-xxxhdpi/check.png
rename to App_Resources/Android/src/main/res/drawable-xxxhdpi/check.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/detail.png b/App_Resources/Android/src/main/res/drawable-xxxhdpi/detail.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-xxxhdpi/detail.png
rename to App_Resources/Android/src/main/res/drawable-xxxhdpi/detail.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/ic_launcher.png b/App_Resources/Android/src/main/res/drawable-xxxhdpi/ic_launcher.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-xxxhdpi/ic_launcher.png
rename to App_Resources/Android/src/main/res/drawable-xxxhdpi/ic_launcher.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/ic_launcher_foreground.png b/App_Resources/Android/src/main/res/drawable-xxxhdpi/ic_launcher_foreground.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-xxxhdpi/ic_launcher_foreground.png
rename to App_Resources/Android/src/main/res/drawable-xxxhdpi/ic_launcher_foreground.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/logo.png b/App_Resources/Android/src/main/res/drawable-xxxhdpi/logo.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-xxxhdpi/logo.png
rename to App_Resources/Android/src/main/res/drawable-xxxhdpi/logo.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/photo.png b/App_Resources/Android/src/main/res/drawable-xxxhdpi/photo.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-xxxhdpi/photo.png
rename to App_Resources/Android/src/main/res/drawable-xxxhdpi/photo.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/plus.png b/App_Resources/Android/src/main/res/drawable-xxxhdpi/plus.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-xxxhdpi/plus.png
rename to App_Resources/Android/src/main/res/drawable-xxxhdpi/plus.png
diff --git a/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/share.png b/App_Resources/Android/src/main/res/drawable-xxxhdpi/share.png
similarity index 100%
rename from app/App_Resources/Android/src/main/res/drawable-xxxhdpi/share.png
rename to App_Resources/Android/src/main/res/drawable-xxxhdpi/share.png
diff --git a/app/App_Resources/Android/src/main/res/values-v21/colors.xml b/App_Resources/Android/src/main/res/values-v21/colors.xml
similarity index 95%
rename from app/App_Resources/Android/src/main/res/values-v21/colors.xml
rename to App_Resources/Android/src/main/res/values-v21/colors.xml
index 809add28..1099326c 100644
--- a/app/App_Resources/Android/src/main/res/values-v21/colors.xml
+++ b/App_Resources/Android/src/main/res/values-v21/colors.xml
@@ -1,7 +1,7 @@
- #fafafa
+ #ff5200
#ff5200
diff --git a/app/App_Resources/Android/src/main/res/values-v21/styles.xml b/App_Resources/Android/src/main/res/values-v21/styles.xml
similarity index 100%
rename from app/App_Resources/Android/src/main/res/values-v21/styles.xml
rename to App_Resources/Android/src/main/res/values-v21/styles.xml
diff --git a/app/App_Resources/Android/src/main/res/values-v29/styles.xml b/App_Resources/Android/src/main/res/values-v29/styles.xml
similarity index 100%
rename from app/App_Resources/Android/src/main/res/values-v29/styles.xml
rename to App_Resources/Android/src/main/res/values-v29/styles.xml
diff --git a/app/App_Resources/Android/src/main/res/values/colors.xml b/App_Resources/Android/src/main/res/values/colors.xml
similarity index 95%
rename from app/App_Resources/Android/src/main/res/values/colors.xml
rename to App_Resources/Android/src/main/res/values/colors.xml
index 1067ac38..1099326c 100644
--- a/app/App_Resources/Android/src/main/res/values/colors.xml
+++ b/App_Resources/Android/src/main/res/values/colors.xml
@@ -1,7 +1,7 @@
- #f1f3f5
+ #ff5200
#ff5200
diff --git a/app/App_Resources/Android/src/main/res/values/strings.xml b/App_Resources/Android/src/main/res/values/strings.xml
similarity index 100%
rename from app/App_Resources/Android/src/main/res/values/strings.xml
rename to App_Resources/Android/src/main/res/values/strings.xml
diff --git a/app/App_Resources/Android/src/main/res/values/styles.xml b/App_Resources/Android/src/main/res/values/styles.xml
similarity index 95%
rename from app/App_Resources/Android/src/main/res/values/styles.xml
rename to App_Resources/Android/src/main/res/values/styles.xml
index c3a0a463..aa8c0094 100644
--- a/app/App_Resources/Android/src/main/res/values/styles.xml
+++ b/App_Resources/Android/src/main/res/values/styles.xml
@@ -57,9 +57,6 @@
-
0dp
- -
- #ff0000
-
-
@color/ns_primary
@@ -77,8 +74,10 @@
-
@null
-
+
diff --git a/app/app.scss b/app/app.scss
index ed3edea0..a867c394 100644
--- a/app/app.scss
+++ b/app/app.scss
@@ -6,7 +6,7 @@ $gray1: #f1f3f5;
$gray2: #e9ecef;
$gray3: #dee2e6;
$gray4: #ced4da;
-$gray5: #adb5bd; // rgb(173,181,189)
+$gray5: #adb5bd;
$gray6: #868e96;
$gray7: #495057;
$gray8: #343a40;
@@ -255,7 +255,7 @@ ActionBar {
}
// prettier-ignore
Label {
- padding: 0 16 0 0;
+ padding: 2 16 0 0;
font-size: 16;
vertical-alignment: center;
&.bx{
@@ -544,14 +544,13 @@ TextField.combinationToken {
}
// -----------------------------
// MEAL PLANNER
-.mealPlanner {
- padding: 16 16 128;
+.dayPlan {
+ padding: 0;
width: 100%;
- .dayContainer {
- padding: 8 0;
+ .plansContainer {
+ padding: 8 4;
color: $gray9;
&.breakfast {
- border-radius: 4 4 0 0;
background: $breakfast;
}
&.lunch {
@@ -561,17 +560,16 @@ TextField.combinationToken {
background: $dinner;
}
&.snacks {
- border-radius: 0 0 4 4;
background: $snacks;
}
.periodLabel {
text-transform: uppercase;
vertical-alignment: center;
- font-size: 16;
+ font-size: 14;
padding: 0 0 0 16;
}
.recipes {
- margin: 8 8 0;
+ margin: 4 8 4;
.recipeTitle {
font-size: 14;
padding: 6 8;
@@ -591,6 +589,7 @@ TextField.combinationToken {
// -----------------------------
// DIALOGS
.dialogContainer {
+ max-width: 480;
width: 100%;
color: $gray9;
background: $gray1;
@@ -600,6 +599,7 @@ TextField.combinationToken {
background: $gray9;
}
.dialogTitle {
+ line-height: 6;
padding: 24 24 16;
font-size: 20;
}
diff --git a/app/components/About.vue b/app/components/About.vue
index 751c93e8..8051846b 100644
--- a/app/components/About.vue
+++ b/app/components/About.vue
@@ -13,7 +13,7 @@
-
+
-
+
import { Application, Utils } from "@nativescript/core"
import { mapActions, mapState } from "vuex"
+
+import * as utils from "~/shared/utils"
+
export default {
- props: ["showDrawer", "title"],
computed: {
...mapState(["icon", "currentComponent"]),
getVersion() {
@@ -112,6 +114,9 @@ export default {
this.setCurrentComponentAction("About")
},
// HELPERS
+ showDrawer() {
+ utils.showDrawer()
+ },
onScroll(args) {
args.scrollY
? (this.viewIsScrolled = true)
diff --git a/app/components/App.vue b/app/components/App.vue
index de0edc22..ad57d798 100644
--- a/app/components/App.vue
+++ b/app/components/App.vue
@@ -1,14 +1,16 @@
@@ -44,8 +46,9 @@
+
@@ -120,21 +123,18 @@
-
-
-
-
-
-
+
+
+
+
@@ -153,22 +153,20 @@ import * as Toast from "nativescript-toast"
import * as application from "tns-core-modules/application"
import { mapActions, mapState } from "vuex"
-import EnRecipes from "./EnRecipes.vue"
-import MealPlanner from "./MealPlanner.vue"
-import Settings from "./Settings.vue"
-import About from "./About.vue"
+import EnRecipes from "./EnRecipes"
+import MealPlanner from "./MealPlanner"
+import Settings from "./Settings"
+import About from "./About"
-import PromptDialog from "./modal/PromptDialog.vue"
+import PromptDialog from "./modal/PromptDialog"
export default {
- components: {
- EnRecipes,
- },
data() {
return {
selectedCategory: null,
filterFavorites: false,
filterTrylater: false,
+ MealPlanner: MealPlanner,
topmenu: [
{
title: "Home",
@@ -200,15 +198,19 @@ export default {
],
editCategory: false,
appTheme: "Light",
- mealPlanner: MealPlanner,
}
},
+ components: {
+ EnRecipes,
+ MealPlanner,
+ },
computed: {
...mapState([
"icon",
"recipes",
"categories",
"yieldUnits",
+ "mealPlans",
"currentComponent",
]),
categoriesWithRecipes() {
@@ -224,6 +226,7 @@ export default {
"initializeRecipes",
"initializeCategories",
"initializeYieldUnits",
+ "initializeMealPlans",
"renameCategoryAction",
]),
onPageLoad() {
@@ -235,6 +238,9 @@ export default {
// window.setNavigationBarColor(new Color("#e0e0e0").android)
}
},
+ onPageUnload() {
+ // this.releaseGlobalBackEvent()
+ },
// HELPERS
toggleCatEdit() {
@@ -268,44 +274,7 @@ export default {
this.selectedCategory = e.item
this.closeDrawer()
},
- restartApp() {
- // Code from nativescript-master-technology
- const mStartActivity = new android.content.Intent(
- application.android.context,
- application.android.startActivity.getClass()
- )
- const mPendingIntentId = parseInt(Math.random() * 100000, 10)
- const mPendingIntent = android.app.PendingIntent.getActivity(
- application.android.context,
- mPendingIntentId,
- mStartActivity,
- android.app.PendingIntent.FLAG_CANCEL_CURRENT
- )
- const mgr = application.android.context.getSystemService(
- android.content.Context.ALARM_SERVICE
- )
- mgr.set(
- android.app.AlarmManager.RTC,
- java.lang.System.currentTimeMillis() + 100,
- mPendingIntent
- )
- android.os.Process.killProcess(android.os.Process.myPid())
- },
- openAppSettingsPage() {
- const intent = new android.content.Intent(
- android.provider.Settings.ACTION_APPLICATION_DETAILS_SETTINGS
- )
- intent.addCategory(android.content.Intent.CATEGORY_DEFAULT)
- intent.setData(
- android.net.Uri.parse(
- "package:" + Application.android.context.getPackageName()
- )
- )
- Application.android.foregroundActivity.startActivity(intent)
- },
- showDrawer() {
- this.$refs.drawer.nativeView.showDrawer()
- },
+
closeDrawer() {
this.$refs.drawer.nativeView.closeDrawer()
},
@@ -358,13 +327,6 @@ export default {
if (isTrueComponent) {
this.$navigateTo(to, {
frame: "main-frame",
- props: {
- showDrawer: this.showDrawer,
- restartApp: this.restartApp,
- hijackGlobalBackEvent: this.hijackGlobalBackEvent,
- releaseGlobalBackEvent: this.releaseGlobalBackEvent,
- openAppSettingsPage: this.openAppSettingsPage,
- },
backstackVisible: false,
})
this.closeDrawer()
@@ -391,9 +353,10 @@ export default {
setTimeout((e) => {
Theme.setMode(Theme[this.appTheme])
}, 10)
- this.initializeRecipes()
- this.initializeCategories()
- this.initializeYieldUnits()
+ if (!this.recipes.length) this.initializeRecipes()
+ if (!this.categories.length) this.initializeCategories()
+ if (!this.yieldUnits.length) this.initializeYieldUnits()
+ if (!this.mealPlans.length) this.initializeMealPlans()
},
}
diff --git a/app/components/EditRecipe.vue b/app/components/EditRecipe.vue
index 5db988ff..f4c44f5a 100644
--- a/app/components/EditRecipe.vue
+++ b/app/components/EditRecipe.vue
@@ -13,20 +13,20 @@
-
+
@@ -257,7 +257,7 @@
-
+
{
res[0] !== "authorized"
- ? confirmation().then((e) => e && this.openAppSettingsPage())
+ ? confirmation().then((e) => e && utils.openAppSettingsPage())
: action()
})
}
@@ -771,7 +767,6 @@ export default {
...this.recipeContent.combinations,
this.recipeContent.id,
]
- console.log(existingCombinations)
let filteredRecipes = this.recipes.filter(
(e) => !existingCombinations.includes(e.id)
)
@@ -838,7 +833,7 @@ export default {
clearEmpty("references")
},
saveOperation() {
- this.imageLoading = true
+ this.saving = true
this.clearEmptyFields()
this.recipeContent.lastModified = new Date()
if (this.cacheImagePath) {
@@ -884,7 +879,7 @@ export default {
})
}
setTimeout(() => {
- this.imageLoading = false
+ this.saving = false
}, 100)
this.$navigateBack()
},
diff --git a/app/components/EnRecipes.vue b/app/components/EnRecipes.vue
index 65ef3c79..015bc741 100644
--- a/app/components/EnRecipes.vue
+++ b/app/components/EnRecipes.vue
@@ -237,15 +237,16 @@ import ViewRecipe from "./ViewRecipe.vue"
import ActionDialog from "./modal/ActionDialog.vue"
import ConfirmDialog from "./modal/ConfirmDialog.vue"
+import * as utils from "~/shared/utils"
+
export default {
props: [
"filterFavorites",
"filterTrylater",
+ "closeDrawer",
"selectedCategory",
- "showDrawer",
"hijackGlobalBackEvent",
"releaseGlobalBackEvent",
- "openAppSettingsPage",
],
components: {
EditRecipe,
@@ -301,6 +302,9 @@ export default {
},
// HELPERS
+ showDrawer() {
+ utils.showDrawer()
+ },
openSearch() {
this.showSearch = true
this.showFAB = false
@@ -355,6 +359,7 @@ export default {
},
searchBackEvent(args) {
args.cancel = true
+ this.closeDrawer()
this.closeSearch()
},
addRecipe() {
@@ -363,7 +368,6 @@ export default {
this.$navigateTo(EditRecipe, {
props: {
selectedCategory: this.selectedCategory,
- openAppSettingsPage: this.openAppSettingsPage,
filterFavorites: this.filterFavorites,
},
})
@@ -371,16 +375,9 @@ export default {
viewRecipe(recipeID) {
this.showFAB = false
this.$navigateTo(ViewRecipe, {
- // transition: {
- // name: "fade",
- // duration: 200,
- // curve: "easeOut",
- // },
props: {
filterTrylater: this.filterTrylater,
recipeID,
- hijackGlobalBackEvent: this.hijackGlobalBackEvent,
- releaseGlobalBackEvent: this.releaseGlobalBackEvent,
},
})
},
diff --git a/app/components/MealPlanner.vue b/app/components/MealPlanner.vue
index 53f54446..e6cb5b87 100644
--- a/app/components/MealPlanner.vue
+++ b/app/components/MealPlanner.vue
@@ -1,7 +1,7 @@
-
+
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
diff --git a/app/components/Settings.vue b/app/components/Settings.vue
index 67c54f9a..c1105d4c 100644
--- a/app/components/Settings.vue
+++ b/app/components/Settings.vue
@@ -13,7 +13,7 @@
-
+
@@ -26,7 +26,7 @@
/>
-
+
@@ -37,11 +37,13 @@
-
+
+
-
this.restartApp(), 250)
+ setTimeout((e) => utils.restartApp(), 250)
}
})
}
@@ -209,11 +204,6 @@ export default {
archive: destPath,
onProgress: (progress) => {
this.backupProgress = progress
- if (progress == 100) {
- setTimeout((e) => {
- this.backupInProgress = false
- }, 2000)
- }
},
}).then((success) => {
Toast.makeText(
@@ -225,8 +215,8 @@ export default {
},
exportFiles(option) {
const folder = path.join(knownFolders.documents().path, "EnRecipes")
- const EnRecipesFile = File.fromPath(path.join(folder, "EnRecipes.json"))
- let userCategoriesFile, userYieldUnitsFile
+ const EnRecipesFile = File.fromPath(path.join(folder, "recipes.json"))
+ let userCategoriesFile, userYieldUnitsFile, mealPlansFile
if (this.userCategories.length) {
userCategoriesFile = File.fromPath(
path.join(folder, "userCategories.json")
@@ -237,6 +227,9 @@ export default {
path.join(folder, "userYieldUnits.json")
)
}
+ if (this.mealPlans.length) {
+ mealPlansFile = File.fromPath(path.join(folder, "mealPlans.json"))
+ }
switch (option) {
case "create":
this.writeDataToFile(EnRecipesFile, this.recipes)
@@ -244,11 +237,14 @@ export default {
this.writeDataToFile(userCategoriesFile, this.userCategories)
this.userYieldUnits.length &&
this.writeDataToFile(userYieldUnitsFile, this.userYieldUnits)
+ this.mealPlans.length &&
+ this.writeDataToFile(mealPlansFile, this.mealPlans)
break
case "delete":
EnRecipesFile.remove()
this.userCategories.length && userCategoriesFile.remove()
this.userYieldUnits.length && userYieldUnitsFile.remove()
+ this.mealPlans.length && mealPlansFile.remove()
break
default:
break
@@ -290,6 +286,9 @@ export default {
case "userYieldUnitsDB":
this.importYieldUnitsAction(data)
break
+ case "mealPlansDB":
+ this.importMealPlansAction(data)
+ break
default:
break
}
@@ -312,9 +311,10 @@ export default {
overwrite: true,
}).then((extractedFolderPath) => {
let cacheFolderPath = extractedFolderPath + "/EnRecipes"
- const EnRecipesFilePath = cacheFolderPath + "/EnRecipes.json"
+ const EnRecipesFilePath = cacheFolderPath + "/recipes.json"
const userCategoriesFilePath = cacheFolderPath + "/userCategories.json"
const userYieldUnitsFilePath = cacheFolderPath + "/userYieldUnits.json"
+ const mealPlansFilePath = cacheFolderPath + "/mealPlans.json"
if (Folder.exists(cacheFolderPath)) {
this.isFileDataValid([
{
@@ -324,6 +324,7 @@ export default {
},
{ zipPath, path: userCategoriesFilePath, db: "userCategoriesDB" },
{ zipPath, path: userYieldUnitsFilePath, db: "userYieldUnitsDB" },
+ { zipPath, path: mealPlansFilePath, db: "mealPlansDB" },
])
} else {
Folder.fromPath(extractedFolderPath).remove()
@@ -368,7 +369,7 @@ export default {
let status = res[Object.keys(res)[0]]
if (status !== "authorized") {
confirmation(description).then((e) => {
- e && this.openAppSettingsPage()
+ e && utils.openAppSettingsPage()
})
} else action()
})
@@ -385,7 +386,7 @@ export default {
})
},
},
- created() {
+ mounted() {
this.appTheme = ApplicationSettings.getString("appTheme", "Light")
},
}
diff --git a/app/components/ViewRecipe.vue b/app/components/ViewRecipe.vue
index 96f1c3b0..07925de6 100644
--- a/app/components/ViewRecipe.vue
+++ b/app/components/ViewRecipe.vue
@@ -66,7 +66,7 @@
class="viewRecipe"
>
-
+
-
+
-
-
+
-
+
-
+
-
+
{
this.setCurrentComponentAction("ViewRecipe")
diff --git a/app/components/modal/ActionDialogWithSearch.vue b/app/components/modal/ActionDialogWithSearch.vue
index 39a6042e..53c0f484 100644
--- a/app/components/modal/ActionDialogWithSearch.vue
+++ b/app/components/modal/ActionDialogWithSearch.vue
@@ -2,7 +2,10 @@
-
+
@@ -18,11 +21,11 @@
@tap="tapAction(recipe)"
/>
diff --git a/app/components/modal/ConfirmDialog.vue b/app/components/modal/ConfirmDialog.vue
index bc02375e..f5180b16 100644
--- a/app/components/modal/ConfirmDialog.vue
+++ b/app/components/modal/ConfirmDialog.vue
@@ -1,7 +1,7 @@
-
+