mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-08-29 08:21:30 +00:00
make youtube sync web only
This commit is contained in:
parent
8bb6643a41
commit
03f1fe3ee5
1 changed files with 16 additions and 14 deletions
|
@ -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,8 +125,9 @@ 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"
|
||||||
|
@ -138,7 +140,7 @@ function UserEmailNew(props: Props) {
|
||||||
checked={formSyncEnabled}
|
checked={formSyncEnabled}
|
||||||
onChange={() => setFormSyncEnabled(!formSyncEnabled)}
|
onChange={() => setFormSyncEnabled(!formSyncEnabled)}
|
||||||
/>
|
/>
|
||||||
)}
|
{/* @endif */}
|
||||||
|
|
||||||
{!shareUsageData && !IS_WEB && (
|
{!shareUsageData && !IS_WEB && (
|
||||||
<FormField
|
<FormField
|
||||||
|
|
Loading…
Add table
Reference in a new issue