Skip to content

Commit

Permalink
fix(mobile): fix bottom badge
Browse files Browse the repository at this point in the history
Signed-off-by: Sacha Froment <sfroment42@gmail.com>
  • Loading branch information
sfroment committed Mar 21, 2019
1 parent 4d811db commit 71fac9f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/react-native/common/components/Library/Icon.js
Expand Up @@ -58,9 +58,9 @@ const IconBadge = props => {
props.badge !== 0 ? (
<View
style={{
position: props.position ? props.position : 'absolute',
right: props.right !== null ? props.right : -8,
top: props.top !== null ? props.top : -5,
position: props.position !== undefined ? props.position : 'absolute',
right: props.right !== undefined ? props.right : -8,
top: props.top !== undefined ? props.top : -5,
backgroundColor: colors.red,
borderRadius: 9,
width: 18,
Expand Down

0 comments on commit 71fac9f

Please sign in to comment.