From d217b6882e49faaa3f5c5b373e9ea949620ad91e Mon Sep 17 00:00:00 2001 From: yashmantri Date: Tue, 10 Oct 2023 10:49:22 +0530 Subject: [PATCH 1/3] TP-0 | Indicator Fix --- src/screens/Dashboard/PerformanceLevelGraph.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/screens/Dashboard/PerformanceLevelGraph.tsx b/src/screens/Dashboard/PerformanceLevelGraph.tsx index 7969de23..d1417f5f 100644 --- a/src/screens/Dashboard/PerformanceLevelGraph.tsx +++ b/src/screens/Dashboard/PerformanceLevelGraph.tsx @@ -38,8 +38,7 @@ const PerformanceLevelGraph = () => { const isBiggerBox = (box: Box) => box.id === performanceLevel?.currentLevel; const selfLevelPosition = - ((cashCollectedTillDate.self - cashCollectedTillDate.belowLevel) * - POINTER_POSITION_MULTIPLIER) / + ((cashCollectedTillDate.self - cashCollectedTillDate.belowLevel) * 100) / (cashCollectedTillDate.aboveLevel - cashCollectedTillDate.belowLevel + 1); // if denominator difference is 0 we are adding it to 1, to avoid calculation error, this should never happen i const getBoxStyles = (box: Box) => { @@ -82,7 +81,7 @@ const PerformanceLevelGraph = () => { containerStyle={styles.dashedLineRight} /> )} - + { height: boxWidth * 1.125, ...GenericStyles.absolute, top: 0, - left: selfLevelPosition, + left: `${selfLevelPosition}%`, }} /> Date: Tue, 10 Oct 2023 10:55:32 +0530 Subject: [PATCH 2/3] TP-0 | Version Bump --- android/app/build.gradle | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 69a089e3..9cc5b1bc 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -131,8 +131,8 @@ def reactNativeArchitectures() { return value ? value.split(",") : ["armeabi-v7a", "x86", "x86_64", "arm64-v8a"] } -def VERSION_CODE = 91 -def VERSION_NAME = "2.4.7" +def VERSION_CODE = 92 +def VERSION_NAME = "2.4.8" android { ndkVersion rootProject.ext.ndkVersion diff --git a/package.json b/package.json index e0799319..7b0ecf02 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "AV_APP", - "version": "2.4.7", + "version": "2.4.8", "private": true, "scripts": { "android:dev": "yarn move:dev && react-native run-android", From 9d7d5f71820fa9b91e816d885805284903a5bd56 Mon Sep 17 00:00:00 2001 From: yashmantri Date: Tue, 10 Oct 2023 11:40:53 +0530 Subject: [PATCH 3/3] TP-0 | RN UI Updated --- RN-UI-LIB | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RN-UI-LIB b/RN-UI-LIB index 89dff942..b10108d9 160000 --- a/RN-UI-LIB +++ b/RN-UI-LIB @@ -1 +1 @@ -Subproject commit 89dff942f5689b3f8c43be1f9f6d6d26c2001b85 +Subproject commit b10108d97c70125e17d9781654f7a4cf01b3f2da