Skip to content

Commit

Permalink
Merge pull request #2914 from ChildMindInstitute/fix/M2-618
Browse files Browse the repository at this point in the history
Fix/m2 618
  • Loading branch information
BamMironov authored Feb 23, 2023
2 parents 93ddf92 + 48b072e commit 03db421
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 8 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.81
# MindLogger 0.21.82

_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 638
versionName "0.21.81"
versionCode 639
versionName "0.21.82"
missingDimensionStrategy 'react-native-camera', 'general'
multiDexEnabled true
}
Expand Down
11 changes: 11 additions & 0 deletions app/widgets/ABTrails/TrailsBoard.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,17 @@ export default class TrailsBoard extends Component {
point.valid = false;
point.actual = item && item.label || 'none';
}

// Add an error point object when the user stops drawing in the middle of the board
// but not at a point.
if (!item) {
this.setState({ errorPoints: [...this.state.errorPoints, point] });

// Remove the error point object in 1 second.
setTimeout(() => {
this.setState({ errorPoints: this.state.errorPoints.filter(x => x != point) });
}, 1000);
}
});

// pop stack
Expand Down
8 changes: 4 additions & 4 deletions ios/MDCApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -830,14 +830,14 @@
CODE_SIGN_ENTITLEMENTS = MDCApp/MDCApp.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 638;
CURRENT_PROJECT_VERSION = 639;
DEAD_CODE_STRIPPING = NO;
DEVELOPMENT_TEAM = 8RHKE85KB6;
ENABLE_TESTABILITY = YES;
GCC_NO_COMMON_BLOCKS = YES;
INFOPLIST_FILE = MDCApp/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 0.21.81;
MARKETING_VERSION = 0.21.82;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
Expand All @@ -863,12 +863,12 @@
CODE_SIGN_ENTITLEMENTS = MDCApp/MDCApp.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 638;
CURRENT_PROJECT_VERSION = 639;
DEVELOPMENT_TEAM = 8RHKE85KB6;
GCC_NO_COMMON_BLOCKS = YES;
INFOPLIST_FILE = MDCApp/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 0.21.81;
MARKETING_VERSION = 0.21.82;
ONLY_ACTIVE_ARCH = NO;
OTHER_LDFLAGS = (
"$(inherited)",
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.81",
"version": "0.21.82",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
Expand Down

0 comments on commit 03db421

Please sign in to comment.