From 54ee1e913b5be96b0be55645030535cd775c546c Mon Sep 17 00:00:00 2001 From: feruz Date: Tue, 14 Jan 2020 12:40:17 +0200 Subject: [PATCH] actionsheet update --- package.json | 2 +- src/screens/bookmarks/container/bookmarksContainer.js | 4 ++-- src/screens/bookmarks/screen/bookmarksScreen.js | 4 ++-- yarn.lock | 5 ++--- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index f331231da..309a6fd27 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "react": "16.9.0", "react-intl": "^3.9.2", "react-native": "0.61.5", - "react-native-actionsheet": "^2.4.2", + "react-native-actionsheet": "esteemapp/react-native-actionsheet", "react-native-autoheight-webview": "^1.3.4", "react-native-code-push": "esteemapp/react-native-code-push", "react-native-config": "luggit/react-native-config#master", diff --git a/src/screens/bookmarks/container/bookmarksContainer.js b/src/screens/bookmarks/container/bookmarksContainer.js index 9919285ed..7761fea54 100644 --- a/src/screens/bookmarks/container/bookmarksContainer.js +++ b/src/screens/bookmarks/container/bookmarksContainer.js @@ -97,7 +97,7 @@ const BookmarksContainer = ({ currentAccount, intl, navigation }) => { }); }; - const _handleOnBookarkPress = (permlink, author) => { + const _handleOnBookmarkPress = (permlink, author) => { if (permlink && author) { navigation.navigate({ routeName: ROUTES.SCREENS.POST, @@ -126,7 +126,7 @@ const BookmarksContainer = ({ currentAccount, intl, navigation }) => { removeFavorite={_removeFavorite} removeBookmark={_removeBoomark} handleOnFavoritePress={_handleOnFavoritePress} - handleOnBookarkPress={_handleOnBookarkPress} + handleOnBookmarkPress={_handleOnBookmarkPress} /> ); }; diff --git a/src/screens/bookmarks/screen/bookmarksScreen.js b/src/screens/bookmarks/screen/bookmarksScreen.js index eb2bd5539..e4ce45c0f 100644 --- a/src/screens/bookmarks/screen/bookmarksScreen.js +++ b/src/screens/bookmarks/screen/bookmarksScreen.js @@ -15,7 +15,7 @@ const BookmarksScreen = ({ isLoading, intl, handleOnFavoritePress, - handleOnBookarkPress, + handleOnBookmarkPress, favorites, bookmarks, removeFavorite, @@ -47,7 +47,7 @@ const BookmarksScreen = ({ handleOnPress={() => isFavorites ? handleOnFavoritePress(item.account) - : handleOnBookarkPress(item.permlink, item.author) + : handleOnBookmarkPress(item.permlink, item.author) } index={index} isClickable diff --git a/yarn.lock b/yarn.lock index cef4feac9..33dbdceb6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7534,10 +7534,9 @@ react-lifecycles-compat@^3.0.4: resolved "https://registry.yarnpkg.com/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz#4f1a273afdfc8f3488a8c516bfda78f872352362" integrity sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA== -react-native-actionsheet@^2.4.2: +react-native-actionsheet@esteemapp/react-native-actionsheet: version "2.4.2" - resolved "https://registry.yarnpkg.com/react-native-actionsheet/-/react-native-actionsheet-2.4.2.tgz#6a00dd51a75ef2c8974312130e405af73191500f" - integrity sha512-DBoWIvVwuWXuptF4t46pBqkFxaUxS+rsIdHiA05t0n4BdTIDV2R4s9bLEUVOGzb94D7VxIamsXZPA/3mmw+SXg== + resolved "https://codeload.github.com/esteemapp/react-native-actionsheet/tar.gz/6cc19973e72bd0e0ba750ce34d42243acff9c109" react-native-autoheight-webview@^1.3.4: version "1.3.4"