diff --git a/src/components/comment-list-item.component.js b/src/components/comment-list-item.component.js index e17949704..86aef9d0c 100644 --- a/src/components/comment-list-item.component.js +++ b/src/components/comment-list-item.component.js @@ -158,23 +158,22 @@ class CommentListItemComponent extends Component { )} {comment.user && ( - - navigation.navigate( - authUser.login === comment.user.login - ? 'AuthProfile' - : 'Profile', - { - user: comment.user, - } - )} - > - + + + navigation.navigate( + authUser.login === comment.user.login + ? 'AuthProfile' + : 'Profile', + { + user: comment.user, + } + )} + > {comment.user.login} - {' '} - + )} diff --git a/src/components/inline-label.component.js b/src/components/inline-label.component.js index 850af5d5b..5af9cc76a 100644 --- a/src/components/inline-label.component.js +++ b/src/components/inline-label.component.js @@ -1,20 +1,18 @@ import React, { Component } from 'react'; import { StyleSheet, Text } from 'react-native'; -import { normalize } from 'config'; +import { fonts, normalize } from 'config'; import { getFontColorByBackground } from 'utils'; const styles = StyleSheet.create({ inlineLabel: { fontSize: normalize(10), - fontWeight: 'bold', - padding: 3, - paddingLeft: 5, - paddingRight: 5, + ...fonts.fontPrimarySemiBold, + paddingHorizontal: 5, margin: 2, borderWidth: 1, overflow: 'hidden', - borderRadius: 2, + borderRadius: 3, minWidth: 50, textAlign: 'center', },