TP-0 | Merge branch 'master' of github.com:navi-medici/address-verification-app into hotfix/geolocation-feedback

This commit is contained in:
Aman Chaturvedi
2023-10-10 14:28:10 +05:30
5 changed files with 8 additions and 9 deletions

View File

@@ -131,8 +131,8 @@ def reactNativeArchitectures() {
return value ? value.split(",") : ["armeabi-v7a", "x86", "x86_64", "arm64-v8a"]
}
def VERSION_CODE = 89
def VERSION_NAME = "2.4.5"
def VERSION_CODE = 92
def VERSION_NAME = "2.4.8"
android {
ndkVersion rootProject.ext.ndkVersion

View File

@@ -1,6 +1,6 @@
{
"name": "AV_APP",
"version": "2.4.5",
"version": "2.4.8",
"private": true,
"scripts": {
"android:dev": "yarn move:dev && react-native run-android",

View File

@@ -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}
/>
)}
<View style={[styles.triangle, { left: selfLevelPosition - 5 }]} />
<View style={[styles.triangle, { left: `${selfLevelPosition - 7}%` }]} />
<DashedLine
dashGap={-1}
dashThickness={1.5}
@@ -92,7 +91,7 @@ const PerformanceLevelGraph = () => {
height: boxWidth * 1.125,
...GenericStyles.absolute,
top: 0,
left: selfLevelPosition,
left: `${selfLevelPosition}%`,
}}
/>
<Text

View File

@@ -33,7 +33,7 @@ const HeaderLabel: React.FC<HeaderLabelProps> = (props) => {
}));
const isTeamLead = useAppSelector((state) => state.user.isTeamLead);
const { caseType = 'My Cases' } = useAppSelector(
(state: RootState) => state.allCases?.filteredListToast
(state: RootState) => state.allCases?.filteredListToast || {}
);
const handleAgentSelectionCTAClick = () => {