Skip to content

Commit

Permalink
Merge pull request #2912 from ChildMindInstitute/fix/M2-499_A/B_Trails
Browse files Browse the repository at this point in the history
Fix/m2 499 a/b trails
  • Loading branch information
BamMironov authored Feb 17, 2023
2 parents 76dbd59 + 69ed3c9 commit 9733b26
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# MindLogger 0.21.80
# MindLogger 0.21.81

_Note: v0.1 is deprecated as of June 12, 2019._

Expand Down
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ android {
applicationId "lab.childmindinstitute.data"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 636
versionName "0.21.80"
versionCode 637
versionName "0.21.81"
missingDimensionStrategy 'react-native-camera', 'general'
multiDexEnabled true
}
Expand Down
8 changes: 8 additions & 0 deletions app/widgets/ABTrails/TrailsBoard.js
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,14 @@ export default class TrailsBoard extends Component {
itemColor = trailsData.colors.passed;
}

if (errorPoints.length) {
const isLastPassedPoint = errorPoints.find(errorPoint => (
errorPoint.start === item.label
))

itemColor = isLastPassedPoint ? trailsData.colors.passed : itemColor;
}

return (
<>
<Circle
Expand Down
4 changes: 2 additions & 2 deletions ios/MDCApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@
CODE_SIGN_ENTITLEMENTS = MDCApp/MDCApp.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 636;
CURRENT_PROJECT_VERSION = 637;
DEAD_CODE_STRIPPING = NO;
DEVELOPMENT_TEAM = 8RHKE85KB6;
ENABLE_TESTABILITY = YES;
Expand Down Expand Up @@ -863,7 +863,7 @@
CODE_SIGN_ENTITLEMENTS = MDCApp/MDCApp.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 636;
CURRENT_PROJECT_VERSION = 637;
DEVELOPMENT_TEAM = 8RHKE85KB6;
GCC_NO_COMMON_BLOCKS = YES;
INFOPLIST_FILE = MDCApp/Info.plist;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "MindLogger",
"version": "0.21.80",
"version": "0.21.81",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
Expand Down

0 comments on commit 9733b26

Please sign in to comment.