make youtube sync web only

This commit is contained in:
Sean Yesmunt 2020-10-09 12:15:59 -04:00
parent 8bb6643a41
commit 03f1fe3ee5

View file

@ -117,6 +117,7 @@ function UserEmailNew(props: Props) {
onChange={e => setPassword(e.target.value)} onChange={e => setPassword(e.target.value)}
/> />
{/* @if TARGET='web' */}
<FormField <FormField
type="checkbox" type="checkbox"
name="youtube_sync_checkbox" name="youtube_sync_checkbox"
@ -124,21 +125,22 @@ function UserEmailNew(props: Props) {
checked={interestedInYoutubSync} checked={interestedInYoutubSync}
onChange={() => doToggleInterestedInYoutubeSync()} onChange={() => doToggleInterestedInYoutubeSync()}
/> />
{/* @endif */}
{!IS_WEB && ( {/* @if TARGET='app' */}
<FormField <FormField
type="checkbox" type="checkbox"
name="sync_checkbox" name="sync_checkbox"
label={ label={
<React.Fragment> <React.Fragment>
{__('Backup your account and wallet data.')}{' '} {__('Backup your account and wallet data.')}{' '}
<Button button="link" href="https://lbry.com/faq/account-sync" label={__('Learn More')} /> <Button button="link" href="https://lbry.com/faq/account-sync" label={__('Learn More')} />
</React.Fragment> </React.Fragment>
} }
checked={formSyncEnabled} checked={formSyncEnabled}
onChange={() => setFormSyncEnabled(!formSyncEnabled)} onChange={() => setFormSyncEnabled(!formSyncEnabled)}
/> />
)} {/* @endif */}
{!shareUsageData && !IS_WEB && ( {!shareUsageData && !IS_WEB && (
<FormField <FormField