Skip to content
This repository has been archived by the owner on Jun 15, 2022. It is now read-only.

Commit

Permalink
Value check before json parse, build 3
Browse files Browse the repository at this point in the history
  • Loading branch information
moughxyz committed Feb 2, 2019
1 parent dbd27ee commit 4c47f8b
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion android/app/build.gradle
Expand Up @@ -102,7 +102,7 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion

versionCode 3000021
versionCode 3000022
versionName "3.0.2"

multiDexEnabled true
Expand Down
2 changes: 1 addition & 1 deletion ios/StandardNotes/Info.plist
Expand Up @@ -71,7 +71,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>2</string>
<string>3</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -29,7 +29,7 @@
"react-navigation-header-buttons": "^2.1.1",
"regenerator": "^0.13.3",
"sn-models": "0.1.13",
"standard-file-js": "0.3.41"
"standard-file-js": "0.3.42"
},
"devDependencies": {
"babel-jest": "^23.6.0",
Expand Down
4 changes: 3 additions & 1 deletion src/lib/sfjs/storageManager.js
Expand Up @@ -69,7 +69,9 @@ export default class Storage extends SFStorageManager {
let key = store[i][0];
if(key.includes("Item-")) {
let value = store[i][1];
items.push(JSON.parse(value));
if(value) {
items.push(JSON.parse(value));
}
}
})

Expand Down

0 comments on commit 4c47f8b

Please sign in to comment.