Rename 'My LBRY' to Downloads

This commit is contained in:
Akinwale Ariwodola 2019-02-11 17:40:24 +01:00
parent 9efcc36e15
commit e0f746b5ae
2 changed files with 3 additions and 3 deletions

View file

@ -114,7 +114,7 @@ const myLbryStack = createStackNavigator({
Downloads: { Downloads: {
screen: DownloadsPage, screen: DownloadsPage,
navigationOptions: ({ navigation }) => ({ navigationOptions: ({ navigation }) => ({
title: 'My LBRY', title: 'Downloads',
headerLeft: menuNavigationButton(navigation), headerLeft: menuNavigationButton(navigation),
headerTitleStyle: discoverStyle.titleText headerTitleStyle: discoverStyle.titleText
}) })
@ -181,7 +181,7 @@ const drawer = createDrawerNavigator({
drawerIcon: ({ tintColor }) => <Icon name="trophy" size={20} style={{ color: tintColor }} /> drawerIcon: ({ tintColor }) => <Icon name="trophy" size={20} style={{ color: tintColor }} />
}}, }},
MyLBRYStack: { screen: myLbryStack, navigationOptions: { MyLBRYStack: { screen: myLbryStack, navigationOptions: {
title: 'My LBRY', drawerIcon: ({ tintColor }) => <Icon name="folder" size={20} style={{ color: tintColor }} /> title: 'Downloads', drawerIcon: ({ tintColor }) => <Icon name="folder" size={20} style={{ color: tintColor }} />
}}, }},
Settings: { screen: SettingsPage, navigationOptions: { Settings: { screen: SettingsPage, navigationOptions: {
drawerLockMode: 'locked-closed', drawerLockMode: 'locked-closed',

View file

@ -21,7 +21,7 @@ import fileListStyle from '../../styles/fileList';
class DownloadsPage extends React.PureComponent { class DownloadsPage extends React.PureComponent {
static navigationOptions = { static navigationOptions = {
title: 'My LBRY' title: 'Downloads'
}; };
componentDidMount() { componentDidMount() {