diff --git a/src/components/basicUIElements/view/placeHolder/postCardPlaceHolderStyles.js b/src/components/basicUIElements/view/placeHolder/postCardPlaceHolderStyles.js index ba4c2e45f..b71210dea 100644 --- a/src/components/basicUIElements/view/placeHolder/postCardPlaceHolderStyles.js +++ b/src/components/basicUIElements/view/placeHolder/postCardPlaceHolderStyles.js @@ -8,7 +8,6 @@ export default EStyleSheet.create({ borderWidth: 1, borderTopWidth: 1, borderColor: '$primaryLightBackground', - borderRadius: 5, marginRight: 0, marginLeft: 0, marginTop: 10, diff --git a/src/components/basicUIElements/view/placeHolder/profileSummaryPlaceHolderStyles.js b/src/components/basicUIElements/view/placeHolder/profileSummaryPlaceHolderStyles.js index fb1369c58..e6b711024 100644 --- a/src/components/basicUIElements/view/placeHolder/profileSummaryPlaceHolderStyles.js +++ b/src/components/basicUIElements/view/placeHolder/profileSummaryPlaceHolderStyles.js @@ -8,7 +8,6 @@ export default EStyleSheet.create({ borderWidth: 1, borderTopWidth: 1, borderColor: '$primaryLightBackground', - borderRadius: 5, marginRight: 0, marginLeft: 0, marginTop: 10, diff --git a/src/components/collapsibleCard/view/collapsibleCardView.js b/src/components/collapsibleCard/view/collapsibleCardView.js index 4c1598fc3..e6c3618bd 100644 --- a/src/components/collapsibleCard/view/collapsibleCardView.js +++ b/src/components/collapsibleCard/view/collapsibleCardView.js @@ -64,7 +64,7 @@ class CollapsibleCardView extends PureComponent { _toggleOnPress = () => { const { handleOnExpanded, moreHeight } = this.props; Animated.timing(this.anime.height, { - toValue: this.anime.expanded ? this._getMinValue() : this._getMaxValue() + moreHeight, + toValue: this.anime.expanded ? this._getMinValue() : this._getMaxValue() + (moreHeight || 0), duration: 200, }).start(); this.anime.expanded = !this.anime.expanded; diff --git a/src/components/comments/view/commentsView.js b/src/components/comments/view/commentsView.js index 164ff3760..668de5f06 100644 --- a/src/components/comments/view/commentsView.js +++ b/src/components/comments/view/commentsView.js @@ -70,9 +70,9 @@ class CommentsView extends PureComponent { > - {isLoggedIn && ( + { - const { navigation } = this.props; + const { navigation, content } = this.props; navigation.navigate({ routeName: ROUTES.SCREENS.VOTERS, params: { activeVotes, }, + key: content.permlink, }); }; diff --git a/src/components/postElements/body/view/postBodyStyles.js b/src/components/postElements/body/view/postBodyStyles.js index bb2bb78c3..326f6e153 100644 --- a/src/components/postElements/body/view/postBodyStyles.js +++ b/src/components/postElements/body/view/postBodyStyles.js @@ -17,12 +17,13 @@ export default EStyleSheet.create({ img: { left: -16, // height: 50, + marginTop: 10, }, code: { fontFamily: '$editorFont', }, commentContainer: { paddingHorizontal: 0, - marginTop: 20, + marginTop: 10, }, }); diff --git a/src/components/searchModal/view/searchModalStyles.js b/src/components/searchModal/view/searchModalStyles.js index 39755063b..4fd577a23 100644 --- a/src/components/searchModal/view/searchModalStyles.js +++ b/src/components/searchModal/view/searchModalStyles.js @@ -29,6 +29,7 @@ export default EStyleSheet.create({ fontSize: 14, flexGrow: 1, padding: 7, + maxWidth: '$deviceWidth - 100', }, closeIconButton: { width: 20, diff --git a/src/components/searchModal/view/searchModalView.js b/src/components/searchModal/view/searchModalView.js index fbd4b4901..379385cc8 100644 --- a/src/components/searchModal/view/searchModalView.js +++ b/src/components/searchModal/view/searchModalView.js @@ -1,6 +1,6 @@ import React, { PureComponent } from 'react'; import { - View, Text, TextInput, FlatList, TouchableHighlight, SafeAreaView, + View, Text, FlatList, TouchableHighlight, SafeAreaView, } from 'react-native'; import FastImage from 'react-native-fast-image'; @@ -10,7 +10,7 @@ import FastImage from 'react-native-fast-image'; import { Icon } from '../../icon'; import { IconButton } from '../../iconButton'; import { Modal } from '../..'; - +import { TextInput } from '../../textInput'; // Styles // eslint-disable-next-line import styles from './searchModalStyles';