Fix post controls tap areas (#2627)
This commit is contained in:
parent
ef84f3a25e
commit
10b1d16c8a
3 changed files with 87 additions and 67 deletions
|
@ -53,7 +53,7 @@ let RepostButton = ({
|
|||
onPress={() => {
|
||||
requireAuth(() => onPressToggleRepostWrapper())
|
||||
}}
|
||||
style={[styles.container]}
|
||||
style={[styles.btn, !big && styles.btnPad]}
|
||||
accessibilityRole="button"
|
||||
accessibilityLabel={`${
|
||||
isReposted
|
||||
|
@ -89,10 +89,16 @@ RepostButton = memo(RepostButton)
|
|||
export {RepostButton}
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
container: {
|
||||
btn: {
|
||||
flexDirection: 'row',
|
||||
alignItems: 'center',
|
||||
},
|
||||
btnPad: {
|
||||
paddingTop: 5,
|
||||
paddingBottom: 5,
|
||||
paddingLeft: 5,
|
||||
paddingRight: 5,
|
||||
},
|
||||
reposted: {
|
||||
color: colors.green3,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue