Invites page #114
4
package-lock.json
generated
|
@ -7076,8 +7076,8 @@
|
|||
}
|
||||
},
|
||||
"lbryinc": {
|
||||
"version": "github:lbryio/lbryinc#053ca52f4f7f9bf8eb62a3581b183671a475ad1c",
|
||||
"from": "github:lbryio/lbryinc#053ca52f4f7f9bf8eb62a3581b183671a475ad1c",
|
||||
"version": "github:lbryio/lbryinc#138a053754ec8e3da8e9bf153d32f527c962f25c",
|
||||
"from": "github:lbryio/lbryinc#138a053754ec8e3da8e9bf153d32f527c962f25c",
|
||||
"requires": {
|
||||
"reselect": "^3.0.0"
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"@expo/vector-icons": "^8.1.0",
|
||||
"gfycat-style-urls": "^1.0.3",
|
||||
"lbry-redux": "lbryio/lbry-redux#c910cd2b80b165843a81fdf6ce96094429b94ec8",
|
||||
"lbryinc": "lbryio/lbryinc#053ca52f4f7f9bf8eb62a3581b183671a475ad1c",
|
||||
"lbryinc": "lbryio/lbryinc#138a053754ec8e3da8e9bf153d32f527c962f25c",
|
||||
"lodash": ">=4.17.11",
|
||||
"merge": ">=1.2.1",
|
||||
"moment": "^2.22.1",
|
||||
|
|
|
@ -6,6 +6,7 @@ import DownloadsPage from 'page/downloads';
|
|||
import DrawerContent from 'component/drawerContent';
|
||||
import FilePage from 'page/file';
|
||||
import FirstRunScreen from 'page/firstRun';
|
||||
import InvitesPage from 'page/invites';
|
||||
import PublishPage from 'page/publish';
|
||||
import PublishesPage from 'page/publishes';
|
||||
import RewardsPage from 'page/rewards';
|
||||
|
@ -210,6 +211,12 @@ const drawer = createDrawerNavigator(
|
|||
drawerIcon: ({ tintColor }) => <Icon name="award" size={drawerIconSize} style={{ color: tintColor }} />,
|
||||
},
|
||||
},
|
||||
Invites: {
|
||||
screen: InvitesPage,
|
||||
navigationOptions: {
|
||||
drawerIcon: ({ tintColor }) => <Icon name="user-friends" size={drawerIconSize} style={{ color: tintColor }} />,
|
||||
},
|
||||
},
|
||||
Downloads: {
|
||||
screen: DownloadsPage,
|
||||
navigationOptions: {
|
||||
|
@ -530,7 +537,7 @@ class AppWithNavigationState extends React.Component {
|
|||
try {
|
||||
verification = JSON.parse(atob(evt.url.substring(15)));
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
// console.log(error);
|
||||
}
|
||||
|
||||
if (verification.token && verification.recaptcha) {
|
||||
|
|
|
@ -36,10 +36,14 @@ export default class ChannelSelector extends React.PureComponent {
|
|||
}
|
||||
|
||||
componentWillReceiveProps(nextProps) {
|
||||
const { channels: prevChannels = [], channelName } = this.props;
|
||||
const { channels = [] } = nextProps;
|
||||
const { channels: prevChannels = [], channelName: prevChannelName } = this.props;
|
||||
const { channels = [], channelName } = nextProps;
|
||||
|
||||
if (channels && channels.length !== prevChannels.length && channelName !== this.state.currentSelectedValue) {
|
||||
this.setState({ currentSelectedValue: prevChannelName });
|
||||
}
|
||||
|
||||
if (channelName !== prevChannelName) {
|
||||
this.setState({ currentSelectedValue: channelName });
|
||||
}
|
||||
}
|
||||
|
@ -189,10 +193,11 @@ export default class ChannelSelector extends React.PureComponent {
|
|||
|
||||
render() {
|
||||
const channel = this.state.addingChannel ? 'new' : this.props.channel;
|
||||
const { balance, enabled, fetchingChannels, channels = [] } = this.props;
|
||||
const pickerItems = [Constants.ITEM_ANONYMOUS, Constants.ITEM_CREATE_A_CHANNEL].concat(
|
||||
channels ? channels.map(ch => ch.name) : [],
|
||||
);
|
||||
const { balance, enabled, fetchingChannels, channels = [], showAnonymous } = this.props;
|
||||
const pickerItems = (showAnonymous
|
||||
? [Constants.ITEM_ANONYMOUS, Constants.ITEM_CREATE_A_CHANNEL]
|
||||
: [Constants.ITEM_CREATE_A_CHANNEL]
|
||||
).concat(channels ? channels.map(ch => ch.name) : []);
|
||||
|
||||
const {
|
||||
newChannelName,
|
||||
|
|
|
@ -22,6 +22,7 @@ const groupedMenuItems = {
|
|||
Wallet: [
|
||||
{ icon: 'wallet', label: 'Wallet', route: Constants.DRAWER_ROUTE_WALLET },
|
||||
{ icon: 'award', label: 'Rewards', route: Constants.DRAWER_ROUTE_REWARDS },
|
||||
{ icon: 'user-friends', label: 'Invites', route: Constants.DRAWER_ROUTE_INVITES },
|
||||
|
||||
],
|
||||
Settings: [
|
||||
{ icon: 'cog', label: 'Settings', route: Constants.DRAWER_ROUTE_SETTINGS },
|
||||
|
|
|
@ -90,6 +90,7 @@ const Constants = {
|
|||
DRAWER_ROUTE_TAG: 'Tag',
|
||||
DRAWER_ROUTE_CHANNEL_CREATOR: 'ChannelCreator',
|
||||
DRAWER_ROUTE_CHANNEL_CREATOR_FORM: 'ChannnelCreatorForm',
|
||||
DRAWER_ROUTE_INVITES: 'Invites',
|
||||
|
||||
FULL_ROUTE_NAME_DISCOVER: 'DiscoverStack',
|
||||
FULL_ROUTE_NAME_WALLET: 'WalletStack',
|
||||
|
@ -165,6 +166,7 @@ export const DrawerRoutes = [
|
|||
Constants.DRAWER_ROUTE_SEARCH,
|
||||
Constants.DRAWER_ROUTE_TRANSACTION_HISTORY,
|
||||
Constants.DRAWER_ROUTE_CHANNEL_CREATOR,
|
||||
Constants.DRAWER_ROUTE_INVITES,
|
||||
];
|
||||
|
||||
// sub-pages for main routes
|
||||
|
|
|
@ -931,7 +931,8 @@ export default class ChannelCreator extends React.PureComponent {
|
|||
source={{ uri: thumbnailUrl }}
|
||||
/>
|
||||
)}
|
||||
{(!!thumbnailUrl || thumbnailUrl.trim().length === 0) && newChannelName.length > 0 && (
|
||||
{(!!thumbnailUrl || (!!thumbnailUrl && thumbnailUrl.trim().length === 0)) &&
|
||||
newChannelName.length > 0 && (
|
||||
<Text style={channelIconStyle.autothumbCharacter}>
|
||||
{newChannelName.substring(0, 1).toUpperCase()}
|
||||
</Text>
|
||||
|
|
46
src/page/invites/index.js
Normal file
|
@ -0,0 +1,46 @@
|
|||
import { connect } from 'react-redux';
|
||||
import { selectMyChannelClaims, selectFetchingMyChannels, doFetchChannelListMine, doToast } from 'lbry-redux';
|
||||
import {
|
||||
selectReferralReward,
|
||||
selectUserInvitesRemaining,
|
||||
selectUserInviteNewIsPending,
|
||||
selectUserInviteNewErrorMessage,
|
||||
selectUserInviteReferralLink,
|
||||
selectUserInviteReferralCode,
|
||||
selectUserInvitees,
|
||||
selectUserInviteStatusIsPending,
|
||||
doFetchInviteStatus,
|
||||
doUserInviteNew,
|
||||
} from 'lbryinc';
|
||||
import { doPushDrawerStack, doPopDrawerStack, doSetPlayerVisible } from 'redux/actions/drawer';
|
||||
import { doUpdateChannelFormState, doClearChannelFormState } from 'redux/actions/form';
|
||||
import { selectDrawerStack } from 'redux/selectors/drawer';
|
||||
import { selectChannelFormState, selectHasChannelFormState } from 'redux/selectors/form';
|
||||
import Constants from 'constants'; // eslint-disable-line node/no-deprecated-api
|
||||
import InvitesPage from './view';
|
||||
|
||||
const select = state => ({
|
||||
channels: selectMyChannelClaims(state),
|
||||
fetchingChannels: selectFetchingMyChannels(state),
|
||||
fetchingInvitees: selectUserInviteStatusIsPending(state),
|
||||
errorMessage: selectUserInviteNewErrorMessage(state),
|
||||
invitesRemaining: selectUserInvitesRemaining(state),
|
||||
referralCode: selectUserInviteReferralCode(state),
|
||||
isPending: selectUserInviteNewIsPending(state),
|
||||
invitees: selectUserInvitees(state),
|
||||
referralReward: selectReferralReward(state),
|
||||
});
|
||||
|
||||
const perform = dispatch => ({
|
||||
fetchChannelListMine: () => dispatch(doFetchChannelListMine()),
|
||||
fetchInviteStatus: () => dispatch(doFetchInviteStatus()),
|
||||
inviteNew: email => dispatch(doUserInviteNew(email)),
|
||||
pushDrawerStack: () => dispatch(doPushDrawerStack(Constants.DRAWER_ROUTE_INVITES)),
|
||||
setPlayerVisible: () => dispatch(doSetPlayerVisible(false)),
|
||||
notify: data => dispatch(doToast(data)),
|
||||
});
|
||||
|
||||
export default connect(
|
||||
select,
|
||||
perform,
|
||||
)(InvitesPage);
|
228
src/page/invites/view.js
Normal file
|
@ -0,0 +1,228 @@
|
|||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
import React from 'react';
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
import { Lbry, parseURI } from 'lbry-redux';
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
import {
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
ActivityIndicator,
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
Clipboard,
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
NativeModules,
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
ScrollView,
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
Text,
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
TextInput,
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
TouchableOpacity,
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
View,
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
} from 'react-native';
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
import Colors from 'styles/colors';
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
import Constants from 'constants'; // eslint-disable-line node/no-deprecated-api
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
import Icon from 'react-native-vector-icons/FontAwesome5';
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
import Link from 'component/link';
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
import Button from 'component/button';
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
import ChannelSelector from 'component/channelSelector';
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
import PageHeader from 'component/pageHeader';
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
import RewardCard from 'component/rewardCard';
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
import RewardEnrolment from 'component/rewardEnrolment';
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
import UriBar from 'component/uriBar';
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
import invitesStyle from 'styles/invites';
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
class InvitesPage extends React.PureComponent {
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
state = {
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
channelName: null,
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
email: null,
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
inviteLink: null,
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
selectedChannel: null,
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
};
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
componentWillMount() {
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
const { navigation } = this.props;
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
// this.didFocusListener = navigation.addListener('didFocus', this.onComponentFocused);
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
}
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
componentWillUnmount() {
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
if (this.didFocusListener) {
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
this.didFocusListener.remove();
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
}
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
}
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
onComponentFocused = () => {
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
const { fetchChannelListMine, fetchInviteStatus, pushDrawerStack, navigation, setPlayerVisible, user } = this.props;
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
pushDrawerStack();
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
setPlayerVisible();
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
NativeModules.Firebase.setCurrentScreen('Invites').then(result => {
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
fetchChannelListMine();
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
fetchInviteStatus();
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
});
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
};
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
componentDidMount() {
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
this.onComponentFocused();
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
}
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
handleChannelChange = channelName => {
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
const { channels = [] } = this.props;
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
if (channels && channels.length > 0) {
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
const filtered = channels.filter(c => c.name === channelName);
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
if (filtered.length > 0) {
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
const channel = filtered[0];
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
this.setState({ channelName, inviteLink: this.getLinkForChannel(channel) });
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
}
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
}
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
};
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
getLinkForChannel = channel => {
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
const { claimId, claimName } = parseURI(channel.permanent_url);
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
return `https://lbry.tv/$/invite/${claimName}:${claimId}`;
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
};
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
handleInviteEmailChange = text => {
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
this.setState({ email: text });
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
};
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
handleInvitePress = () => {
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
const { inviteNew, notify } = this.props;
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
const { email } = this.state;
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
if (!email || email.indexOf('@') === -1) {
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
This is fine as a check, but this can't be the only place we validate email. There should only be one function that ascertains whether an email is valid and it should be used everywhere. This is fine as a check, but this can't be the only place we validate email. There should only be one function that ascertains whether an email is valid and it should be used everywhere.
|
||||
return notify({
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
message: __('Please enter a valid email address to send an invite to.'),
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
isError: true,
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
});
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
}
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
inviteNew(email);
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
};
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
componentWillReceiveProps(nextProps) {
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
const { isPending: prevPending, notify } = this.props;
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
const { channels = [], isPending, errorMessage } = nextProps;
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
const { email } = this.state;
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
if (!this.state.channelName && channels && channels.length > 0) {
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
const firstChannel = channels[0];
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
this.setState({ channelName: firstChannel.name, inviteLink: this.getLinkForChannel(firstChannel) });
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
}
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
if (prevPending && !isPending) {
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
if (errorMessage && errorMessage.trim().length > 0) {
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
notify({ message: errorMessage, isError: true });
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
} else {
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
notify({ message: __(`${email} was invited to the LBRY party!`) });
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
this.setState({ email: null });
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
}
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
}
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
}
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
handleInviteLinkPress = () => {
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
const { notify } = this.props;
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
Clipboard.setString(this.state.inviteLink);
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
notify({
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
message: __('Invite link copied'),
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
});
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
};
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
render() {
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
const { fetchingInvitees, user, navigation, notify, isPending, invitees } = this.props;
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
const { email, inviteLink } = this.state;
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
const hasInvitees = invitees && invitees.length > 0;
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
return (
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
<View style={invitesStyle.container}>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
<UriBar navigation={navigation} />
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
<ScrollView style={invitesStyle.scrollContainer}>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
<TouchableOpacity style={invitesStyle.rewardDriverCard} onPress={() => navigation.navigate('Rewards')}>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
<Icon name="award" size={16} style={invitesStyle.rewardDriverIcon} />
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
<Text style={invitesStyle.rewardDriverText}>{__('Earn rewards for inviting your friends.')}</Text>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
</TouchableOpacity>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
<View style={invitesStyle.card}>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
<Text style={invitesStyle.title}>{__('Invite Link')}</Text>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
<Text style={invitesStyle.text}>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
{__('Share this link with friends (or enemies) and get 20 LBC when they join lbry.tv')}
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
</Text>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
<Text style={invitesStyle.subTitle}>{__('Your invite link')}</Text>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
<View style={invitesStyle.row}>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
<Text selectable numberOfLines={1} style={invitesStyle.inviteLink} onPress={this.handleInviteLinkPress}>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
{this.state.inviteLink}
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
</Text>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
<Button icon={'clipboard'} style={invitesStyle.button} onPress={this.handleInviteLinkPress} />
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
</View>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
<Text style={invitesStyle.customizeTitle}>{__('Customize invite link')}</Text>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
<ChannelSelector
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
showAnonymous={false}
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
channelName={this.state.channelName}
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
onChannelChange={this.handleChannelChange}
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
/>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
</View>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
<View style={invitesStyle.card}>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
<Text style={invitesStyle.title}>{__('Invite by Email')}</Text>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
<Text style={invitesStyle.text}>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
{__('Invite someone you know by email and earn 20 LBC when they join lbry.tv.')}
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
</Text>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
<TextInput
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
style={invitesStyle.emailInput}
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
editable={!isPending}
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
value={this.state.email}
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
onChangeText={this.handleInviteEmailChange}
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
placeholder={__('imaginary@friend.com')}
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
underlineColorAndroid={Colors.NextLbryGreen}
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
/>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
<View style={invitesStyle.rightRow}>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
{isPending && (
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
<ActivityIndicator size={'small'} color={Colors.NextLbryGreen} style={invitesStyle.loading} />
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
)}
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
<Button
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
disabled={!email || email.indexOf('@') === -1 || isPending}
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
style={invitesStyle.button}
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
text={__('Invite')}
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
onPress={this.handleInvitePress}
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
/>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
</View>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
</View>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
<View style={[invitesStyle.card, invitesStyle.lastCard]}>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
<View style={invitesStyle.titleRow}>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
<Text style={invitesStyle.titleCol}>{__('Invite History')}</Text>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
{fetchingInvitees && <ActivityIndicator size={'small'} color={Colors.NextLbryGreen} />}
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
</View>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
<Text style={invitesStyle.text}>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
{__(
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
'Earn 20 LBC for inviting a friend, an enemy, a frenemy, or an enefriend. Everyone needs content freedom.',
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
)}
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
</Text>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
<View style={invitesStyle.invitees}>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
{hasInvitees && (
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
<View style={invitesStyle.inviteesHeader}>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
<Text style={invitesStyle.emailHeader} numberOfLines={1}>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
{__('Email')}
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
</Text>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
<Text style={invitesStyle.rewardHeader} numberOfLines={1}>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
{__('Reward')}
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
</Text>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
</View>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
)}
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
{hasInvitees &&
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
invitees.map(invitee => (
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
<View key={invitee.email} style={invitesStyle.inviteeItem}>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
<Text style={invitesStyle.inviteeEmail} numberOfLines={1}>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
{invitee.email}
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
</Text>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
<Text style={invitesStyle.rewardStatus} numberOfLines={1}>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
{invitee.invite_reward_claimed && __('Claimed')}
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
{!invitee.invite_reward_claimed &&
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
(invitee.invite_reward_claimable ? __('Claimable') : __('Unclaimable'))}
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
</Text>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
</View>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
))}
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
</View>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
</View>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
</ScrollView>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
</View>
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
);
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
}
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
}
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
||||
export default InvitesPage;
|
||||
Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error. Where is this coming from? If IAPI, do not i18n. If internal to app, i18n when constructing error.
Can we put emojis in these? Is that bad? if not, do: "${email} was invited to the LBRY party 🥳" Can we put emojis in these? Is that bad?
if not, do: "${email} was invited to the LBRY party 🥳"
i18n i18n
imaginary@friend.com?
i18n i18n
|
|
@ -11,6 +11,10 @@ import RewardEnrolment from 'component/rewardEnrolment';
|
|||
import UriBar from 'component/uriBar';
|
||||
import rewardStyle from 'styles/reward';
|
||||
|
||||
const FILTER_ALL = 'all';
|
||||
const FILTER_AVAILABLE = 'available';
|
||||
const FILTER_CLAIMED = 'claimed';
|
||||
|
||||
class RewardsPage extends React.PureComponent {
|
||||
state = {
|
||||
isEmailVerified: false,
|
||||
|
@ -19,6 +23,7 @@ class RewardsPage extends React.PureComponent {
|
|||
verifyRequestStarted: false,
|
||||
revealVerification: true,
|
||||
firstRewardClaimed: false,
|
||||
currentFilter: FILTER_AVAILABLE,
|
||||
};
|
||||
|
||||
scrollView = null;
|
||||
|
@ -182,8 +187,13 @@ class RewardsPage extends React.PureComponent {
|
|||
});
|
||||
};
|
||||
|
||||
setFilter = filter => {
|
||||
this.setState({ currentFilter: filter });
|
||||
};
|
||||
|
||||
render() {
|
||||
const { user, navigation } = this.props;
|
||||
const { currentFilter } = this.state;
|
||||
|
||||
return (
|
||||
<View style={rewardStyle.container}>
|
||||
|
@ -197,8 +207,29 @@ class RewardsPage extends React.PureComponent {
|
|||
style={rewardStyle.scrollContainer}
|
||||
contentContainerStyle={rewardStyle.scrollContentContainer}
|
||||
>
|
||||
{this.renderUnclaimedRewards()}
|
||||
{this.renderClaimedRewards()}
|
||||
<View style={rewardStyle.filterHeader}>
|
||||
<Link
|
||||
style={[rewardStyle.filterLink, currentFilter === FILTER_ALL ? rewardStyle.activeFilterLink : null]}
|
||||
text={__('All')}
|
||||
onPress={() => this.setFilter(FILTER_ALL)}
|
||||
/>
|
||||
<Link
|
||||
style={[
|
||||
rewardStyle.filterLink,
|
||||
currentFilter === FILTER_AVAILABLE ? rewardStyle.activeFilterLink : null,
|
||||
]}
|
||||
text={__('Available')}
|
||||
onPress={() => this.setFilter(FILTER_AVAILABLE)}
|
||||
/>
|
||||
<Link
|
||||
style={[rewardStyle.filterLink, currentFilter === FILTER_CLAIMED ? rewardStyle.activeFilterLink : null]}
|
||||
text={__('Claimed')}
|
||||
onPress={() => this.setFilter(FILTER_CLAIMED)}
|
||||
/>
|
||||
</View>
|
||||
|
||||
{(currentFilter === FILTER_AVAILABLE || currentFilter === FILTER_ALL) && this.renderUnclaimedRewards()}
|
||||
{(currentFilter === FILTER_CLAIMED || currentFilter === FILTER_ALL) && this.renderClaimedRewards()}
|
||||
</ScrollView>
|
||||
)}
|
||||
</View>
|
||||
|
|
|
@ -1,16 +1,26 @@
|
|||
import Constants from 'constants'; // eslint-disable-line node/no-deprecated-api
|
||||
|
||||
export const doPushDrawerStack = (routeName, params) => dispatch =>
|
||||
export const doPushDrawerStack = (routeName, params) => dispatch => {
|
||||
dispatch({
|
||||
type: Constants.ACTION_PUSH_DRAWER_STACK,
|
||||
data: { routeName, params },
|
||||
});
|
||||
|
||||
export const doPopDrawerStack = () => dispatch =>
|
||||
if (window.persistor) {
|
||||
window.persistor.flush();
|
||||
}
|
||||
};
|
||||
|
||||
export const doPopDrawerStack = () => dispatch => {
|
||||
dispatch({
|
||||
type: Constants.ACTION_POP_DRAWER_STACK,
|
||||
});
|
||||
|
||||
if (window.persistor) {
|
||||
window.persistor.flush();
|
||||
}
|
||||
};
|
||||
|
||||
export const doSetPlayerVisible = (visible, uri) => dispatch =>
|
||||
dispatch({
|
||||
type: Constants.ACTION_SET_PLAYER_VISIBLE,
|
||||
|
|
150
src/styles/invites.js
Normal file
|
@ -0,0 +1,150 @@
|
|||
import { StyleSheet } from 'react-native';
|
||||
import Colors from './colors';
|
||||
|
||||
const walletStyle = StyleSheet.create({
|
||||
container: {
|
||||
flex: 1,
|
||||
backgroundColor: Colors.PageBackground,
|
||||
},
|
||||
scrollContainer: {
|
||||
marginTop: 60,
|
||||
},
|
||||
row: {
|
||||
flexDirection: 'row',
|
||||
justifyContent: 'space-between',
|
||||
alignItems: 'center',
|
||||
},
|
||||
button: {
|
||||
backgroundColor: Colors.LbryGreen,
|
||||
alignSelf: 'flex-start',
|
||||
},
|
||||
card: {
|
||||
backgroundColor: Colors.White,
|
||||
marginTop: 16,
|
||||
marginLeft: 16,
|
||||
marginRight: 16,
|
||||
padding: 16,
|
||||
},
|
||||
title: {
|
||||
fontFamily: 'Inter-SemiBold',
|
||||
fontSize: 20,
|
||||
marginBottom: 8,
|
||||
},
|
||||
titleRow: {
|
||||
alignItems: 'center',
|
||||
flexDirection: 'row',
|
||||
marginBottom: 8,
|
||||
justifyContent: 'space-between',
|
||||
},
|
||||
titleCol: {
|
||||
fontFamily: 'Inter-SemiBold',
|
||||
fontSize: 20,
|
||||
},
|
||||
text: {
|
||||
fontFamily: 'Inter-Regular',
|
||||
fontSize: 14,
|
||||
},
|
||||
link: {
|
||||
color: Colors.LbryGreen,
|
||||
fontFamily: 'Inter-Regular',
|
||||
fontSize: 14,
|
||||
},
|
||||
smallText: {
|
||||
fontFamily: 'Inter-Regular',
|
||||
fontSize: 12,
|
||||
},
|
||||
rewardDriverCard: {
|
||||
alignItems: 'center',
|
||||
backgroundColor: Colors.RewardDriverBlue,
|
||||
flexDirection: 'row',
|
||||
padding: 16,
|
||||
marginLeft: 16,
|
||||
marginTop: 16,
|
||||
marginRight: 16,
|
||||
},
|
||||
rewardDriverIcon: {
|
||||
color: Colors.White,
|
||||
marginRight: 8,
|
||||
},
|
||||
rewardDriverText: {
|
||||
fontFamily: 'Inter-Regular',
|
||||
color: Colors.White,
|
||||
fontSize: 14,
|
||||
},
|
||||
subTitle: {
|
||||
fontFamily: 'Inter-Regular',
|
||||
fontSize: 14,
|
||||
marginTop: 12,
|
||||
marginBottom: 4,
|
||||
},
|
||||
customizeTitle: {
|
||||
fontFamily: 'Inter-Regular',
|
||||
fontSize: 14,
|
||||
marginTop: 12,
|
||||
},
|
||||
inviteLink: {
|
||||
fontFamily: 'Inter-Regular',
|
||||
borderWidth: 1,
|
||||
borderRadius: 16,
|
||||
borderStyle: 'dashed',
|
||||
borderColor: '#e1e1e1',
|
||||
backgroundColor: '#f9f9f9',
|
||||
paddingTop: 8,
|
||||
paddingLeft: 8,
|
||||
paddingRight: 8,
|
||||
paddingBottom: 6,
|
||||
width: '88%',
|
||||
},
|
||||
emailInput: {
|
||||
fontFamily: 'Inter-Regular',
|
||||
fontSize: 14,
|
||||
},
|
||||
rightRow: {
|
||||
flexDirection: 'row',
|
||||
alignItems: 'center',
|
||||
justifyContent: 'flex-end',
|
||||
},
|
||||
loading: {
|
||||
marginRight: 8,
|
||||
},
|
||||
lastCard: {
|
||||
marginBottom: 16,
|
||||
},
|
||||
invitees: {
|
||||
marginTop: 8,
|
||||
},
|
||||
inviteesHeader: {
|
||||
flex: 1,
|
||||
flexDirection: 'row',
|
||||
alignItems: 'center',
|
||||
marginBottom: 8,
|
||||
},
|
||||
emailHeader: {
|
||||
fontFamily: 'Inter-SemiBold',
|
||||
fontSize: 14,
|
||||
width: '65%',
|
||||
},
|
||||
rewardHeader: {
|
||||
fontFamily: 'Inter-SemiBold',
|
||||
fontSize: 14,
|
||||
width: '35%',
|
||||
},
|
||||
inviteeItem: {
|
||||
flex: 1,
|
||||
flexDirection: 'row',
|
||||
alignItems: 'center',
|
||||
marginBottom: 8,
|
||||
},
|
||||
inviteeEmail: {
|
||||
fontFamily: 'Inter-Regular',
|
||||
fontSize: 12,
|
||||
width: '65%',
|
||||
},
|
||||
rewardStatus: {
|
||||
fontFamily: 'Inter-Regular',
|
||||
fontSize: 12,
|
||||
width: '35%',
|
||||
},
|
||||
});
|
||||
|
||||
export default walletStyle;
|
|
@ -305,6 +305,23 @@ const rewardStyle = StyleSheet.create({
|
|||
fontSize: 12,
|
||||
lineHeight: 16,
|
||||
},
|
||||
filterHeader: {
|
||||
flexDirection: 'row',
|
||||
alignItems: 'center',
|
||||
marginTop: 16,
|
||||
marginLeft: 16,
|
||||
marginRight: 16,
|
||||
padding: 16,
|
||||
backgroundColor: Colors.White,
|
||||
},
|
||||
filterLink: {
|
||||
fontFamily: 'Inter-Regular',
|
||||
fontSize: 14,
|
||||
marginRight: 24,
|
||||
},
|
||||
activeFilterLink: {
|
||||
fontFamily: 'Inter-SemiBold',
|
||||
},
|
||||
});
|
||||
|
||||
export default rewardStyle;
|
||||
|
|
|
@ -10,6 +10,7 @@ const specialRouteMap = {
|
|||
about: Constants.DRAWER_ROUTE_ABOUT,
|
||||
allContent: Constants.DRAWER_ROUTE_TRENDING,
|
||||
channels: Constants.DRAWER_ROUTE_CHANNEL_CREATOR,
|
||||
invites: Constants.DRAWER_ROUTE_INVITES,
|
||||
library: Constants.DRAWER_ROUTE_MY_LBRY,
|
||||
publish: Constants.DRAWER_ROUTE_PUBLISH,
|
||||
publishes: Constants.DRAWER_ROUTE_PUBLISHES,
|
||||
|
|
i18n missing on all of these labels
Ok, I see you're doing it in the loop below. IMO it is better to always do it directly on the string to prevent double translation and to facilitate inspection.