- The fix is in! Linty fresh and pretty...

This commit is contained in:
Mike Fitzpatrick
2019-08-08 16:18:08 -04:00
parent dfc4daf696
commit ebb6f47455
52 changed files with 453 additions and 259 deletions

View File

@@ -1,12 +1,16 @@
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { Text, View } from 'react-native';
import ProfileUtility from '../components/Profile/Profile.container.js';
import styles from './Profile.styles.js';
export default class Profile extends Component {
const STRINGS = {
EMAIL_NEEDS_VERIFICATION: 'Your acount has not been verified, please check your email.',
};
export default class Profile extends Component {
static get propTypes() {
return {
hasLinkedApple: PropTypes.bool,
@@ -48,9 +52,7 @@ export default class Profile extends Component {
<View style={styles.container}>
{!isVerified && (
<View style={styles.alertBar}>
<Text style={styles.alert}>
{`Your acount has not been verified, please check your email.`}
</Text>
<Text style={styles.alert}>{STRINGS.EMAIL_NEEDS_VERIFICATION}</Text>
</View>
)}
@@ -62,24 +64,30 @@ export default class Profile extends Component {
{!isAllowedToBid ? (
/* ADD PAYMENT METHOD */
<View />
) : (
/* SHOW/EDIT PAYMENT METHOD */
<View />
)}
{!hasLocalAccount && (
/* CREATE LOCAL ACCOUNT PASSWORD CTA */
<View />
)}
{hasLinkedApple && (
/* APPLE LINK/UNLINK */
<View />
)}
{hasLinkedFacebook && (
/* FACEBOOK LINK/UNLINK */
<View />
)}
{hasLinkedGoogle && (
/* GOOGLE LINK/UNLINK */
<View />
)}
</View>
);