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)}
/>
{/* @if TARGET='web' */}
<FormField
type="checkbox"
name="youtube_sync_checkbox"
@ -124,8 +125,9 @@ function UserEmailNew(props: Props) {
checked={interestedInYoutubSync}
onChange={() => doToggleInterestedInYoutubeSync()}
/>
{/* @endif */}
{!IS_WEB && (
{/* @if TARGET='app' */}
<FormField
type="checkbox"
name="sync_checkbox"
@ -138,7 +140,7 @@ function UserEmailNew(props: Props) {
checked={formSyncEnabled}
onChange={() => setFormSyncEnabled(!formSyncEnabled)}
/>
)}
{/* @endif */}
{!shareUsageData && !IS_WEB && (
<FormField