From 7e2920b694c00f054523e04051b357df7379fe17 Mon Sep 17 00:00:00 2001 From: RealOrangeOne Date: Fri, 11 Mar 2016 11:00:07 +0000 Subject: [PATCH] Add icons --- app/components/projects/ProjectItem.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/app/components/projects/ProjectItem.js b/app/components/projects/ProjectItem.js index afb29e1..38afa16 100644 --- a/app/components/projects/ProjectItem.js +++ b/app/components/projects/ProjectItem.js @@ -2,6 +2,7 @@ import React from 'react-native'; import GlobalStyles from '../../settings/styles'; import { getProjectRecentBuilds } from '../../api/CircleCI'; import moment from 'moment'; +import Icon from 'react-native-vector-icons/Octicons'; const { View, @@ -74,9 +75,9 @@ export default class ProjectItem extends React.Component { const commit = mostRecentBuild.all_commit_details[0]; return ( - #{ mostRecentBuild.build_num } - D: { buildTime } - C: { commit.commit.substring(0, 6) } + #{ mostRecentBuild.build_num } + { buildTime } + { commit.commit.substring(0, 6) } ); } @@ -90,10 +91,10 @@ export default class ProjectItem extends React.Component { GlobalStyles.get('CIRCLE_TEST_FAIL') : GlobalStyles.get('CIRCLE_TEST_PASS'); const username = this.props.userDetails && this.props.userDetails.login !== project.username ? - (U: {project.username}) : null; + ( {project.username}) : null; const language = project.language ? - (L: {project.language}) : null; + ( {project.language}) : null; const buildDetails = mostRecentBuild ? this._displayMoreInfo(mostRecentBuild) : null;