Publishing #577

Merged
akinwale merged 15 commits from publishing into master 2019-07-09 02:43:31 +02:00
2 changed files with 7 additions and 4 deletions
Showing only changes of commit 3077653f4b - Show all commits

View file

@ -134,12 +134,12 @@ const drawer = createDrawerNavigator({
WalletStack: { screen: walletStack, navigationOptions: {
title: 'Wallet', drawerIcon: ({ tintColor }) => <Icon name="wallet" size={20} style={{ color: tintColor }} />
}},
Publish: { screen: PublishPage, navigationOptions: {
drawerIcon: ({ tintColor }) => <Icon name="upload" size={20} style={{ color: tintColor }} />
}},
Rewards: { screen: RewardsPage, navigationOptions: {
drawerIcon: ({ tintColor }) => <Icon name="award" size={20} style={{ color: tintColor }} />
}},
Publish: { screen: PublishPage, navigationOptions: {
drawerIcon: ({ tintColor }) => <Icon name="upload" size={20} style={{ color: tintColor }} />
}},
MyLBRYStack: { screen: DownloadsPage, navigationOptions: {
title: 'Library', drawerIcon: ({ tintColor }) => <Icon name="download" size={20} style={{ color: tintColor }} />
}},

View file

@ -1,5 +1,6 @@
import React from 'react';
import { NativeModules, Text, View } from 'react-native';
import UriBar from 'component/uriBar';
import publishStyle from 'styles/reward';
class PublishPage extends React.PureComponent {
@ -22,7 +23,7 @@ class PublishPage extends React.PureComponent {
pushDrawerStack();
setPlayerVisible();
NativeModules.Gallery.getVideos().then(videos => {
console.log('videos retrieved.');
console.log(videos);
});
}
@ -40,6 +41,8 @@ class PublishPage extends React.PureComponent {
}
render() {
const { navigation } = this.props;
return (
<View style={publishStyle.container}>
<UriBar navigation={navigation} />