Skip to content

Commit

Permalink
Merge branch 'styling-homescreen' of https://github.com/Alastair2D/in…
Browse files Browse the repository at this point in the history
…jection_dependent into styling-homescreen
  • Loading branch information
Harry committed Oct 25, 2018
2 parents 49fc074 178a755 commit e4d7f56
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
Binary file added assets/images/bizz.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions navigation/MainTabNavigator.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 39,8 @@ HistoryStack.navigationOptions = {
focused={focused}
name={
Platform.OS === 'ios'
? `ios-link${focused ? '' : '-outline'}`
: 'md-link'
? `ios-book${focused ? '' : '-outline'}`
: 'md-book'
}
/>
)
Expand All @@ -57,8 57,8 @@ SettingsStack.navigationOptions = {
focused={focused}
name={
Platform.OS === 'ios'
? `ios-options${focused ? '' : '-outline'}`
: 'md-options'
? `ios-settings${focused ? '' : '-outline'}`
: 'md-settings'
}
/>
)
Expand Down
7 changes: 6 additions & 1 deletion screens/HomeScreen.js
Original file line number Diff line number Diff line change
@@ -1,5 1,5 @@
import React, { Component, PropTypes } from 'react';
import { StyleSheet, View, Switch, Text } from 'react-native';
import { StyleSheet, View, Switch, Text, Image } from 'react-native';
import moment from 'moment';
import CurrentSite from '../components/CurrentSite';
import PreviousSite from '../components/PreviousSite';
Expand All @@ -22,6 22,11 @@ export class HomeScreen extends React.Component {
}
}

static navigationOptions = {
headerTitle: (<Image style={{ width: 300, height: 40, }} source={require('../assets/images/bizz.png')}/>),
backgroundColor: 'orange',
};

onSwipeLeft = () => {
this.handleSkip();
}
Expand Down

0 comments on commit e4d7f56

Please sign in to comment.