mirror of
https://github.com/LBRYFoundation/lbry-android.git
synced 2025-08-23 17:47:28 +00:00
* update wallet sync status display * add disable wallet sync confirmation * add wallet sync title * use python 3.7 venv
19 lines
674 B
JavaScript
19 lines
674 B
JavaScript
import React from 'react';
|
|
import { Text, TouchableOpacity } from 'react-native';
|
|
import Icon from 'react-native-vector-icons/FontAwesome5';
|
|
import filePageStyle from 'styles/filePage';
|
|
|
|
class FileRewardsDriver extends React.PureComponent<Props> {
|
|
render() {
|
|
const { navigation } = this.props;
|
|
|
|
return (
|
|
<TouchableOpacity style={filePageStyle.rewardDriverCard} onPress={() => navigation.navigate('Rewards')}>
|
|
<Icon name="award" size={16} style={filePageStyle.rewardIcon} />
|
|
<Text style={filePageStyle.rewardDriverText}>Earn some credits to access this content.</Text>
|
|
</TouchableOpacity>
|
|
);
|
|
}
|
|
}
|
|
|
|
export default FileRewardsDriver;
|