actionsheet update

This commit is contained in:
feruz 2020-01-14 12:40:17 +02:00
parent e7b2cdfdc0
commit 6c8a7baf67
4 changed files with 7 additions and 8 deletions

View File

@ -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",

View File

@ -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}
/>
);
};

View File

@ -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

View File

@ -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"