fix package and drawer check

This commit is contained in:
Feruz 2019-05-11 10:14:34 +03:00
parent 35245d676c
commit 5e690efa8f
3 changed files with 10 additions and 2 deletions

View File

@ -69,7 +69,8 @@
"remarkable": "^1.7.1", "remarkable": "^1.7.1",
"rn-placeholder": "^1.3.2", "rn-placeholder": "^1.3.2",
"speakingurl": "^14.0.1", "speakingurl": "^14.0.1",
"steemconnect": "^2.0.1" "steemconnect": "^2.0.1",
"stacktrace-parser": "0.1.4"
}, },
"devDependencies": { "devDependencies": {
"babel-eslint": "^10.0.1", "babel-eslint": "^10.0.1",

View File

@ -30,7 +30,9 @@ class HeaderContainer extends PureComponent {
_handleOpenDrawer = () => { _handleOpenDrawer = () => {
const { navigation } = this.props; const { navigation } = this.props;
if (navigation && navigation.openDrawer && typeof(navigation.openDrawer) == "function") {
navigation.openDrawer(); navigation.openDrawer();
}
}; };
_handleOnPressBackButton = () => { _handleOnPressBackButton = () => {

View File

@ -8365,6 +8365,11 @@ stack-utils@^1.0.1:
resolved "https://registry.yarnpkg.com/stack-utils/-/stack-utils-1.0.2.tgz#33eba3897788558bebfc2db059dc158ec36cebb8" resolved "https://registry.yarnpkg.com/stack-utils/-/stack-utils-1.0.2.tgz#33eba3897788558bebfc2db059dc158ec36cebb8"
integrity sha512-MTX+MeG5U994cazkjd/9KNAapsHnibjMLnfXodlkXw76JEea0UiNzrqidzo1emMwk7w5Qhc9jd4Bn9TBb1MFwA== integrity sha512-MTX+MeG5U994cazkjd/9KNAapsHnibjMLnfXodlkXw76JEea0UiNzrqidzo1emMwk7w5Qhc9jd4Bn9TBb1MFwA==
stacktrace-parser@0.1.4:
version "0.1.4"
resolved "https://registry.yarnpkg.com/stacktrace-parser/-/stacktrace-parser-0.1.4.tgz#01397922e5f62ecf30845522c95c4fe1d25e7d4e"
integrity sha1-ATl5IuX2Ls8whFUiyVxP4dJefU4=
stacktrace-parser@^0.1.3: stacktrace-parser@^0.1.3:
version "0.1.5" version "0.1.5"
resolved "https://registry.yarnpkg.com/stacktrace-parser/-/stacktrace-parser-0.1.5.tgz#b6784545b9bf70b4f1325671d024c71269c4bc2a" resolved "https://registry.yarnpkg.com/stacktrace-parser/-/stacktrace-parser-0.1.5.tgz#b6784545b9bf70b4f1325671d024c71269c4bc2a"