Publishing #577
2 changed files with 7 additions and 4 deletions
|
@ -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 }} />
|
||||
}},
|
||||
|
|
|
@ -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} />
|
||||
|
|
Loading…
Reference in a new issue