hide data toggle on web
This commit is contained in:
parent
6b27fde4a2
commit
da40fdce9c
1 changed files with 3 additions and 1 deletions
|
@ -31,7 +31,9 @@ function UserEmailNew(props: Props) {
|
||||||
function handleSubmit() {
|
function handleSubmit() {
|
||||||
setSync(formSyncEnabled);
|
setSync(formSyncEnabled);
|
||||||
addUserEmail(newEmail);
|
addUserEmail(newEmail);
|
||||||
|
// @if TARGET='app'
|
||||||
setShareDiagnosticData(true);
|
setShareDiagnosticData(true);
|
||||||
|
// @endif
|
||||||
analytics.emailProvidedEvent();
|
analytics.emailProvidedEvent();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -73,7 +75,7 @@ function UserEmailNew(props: Props) {
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{!shareUsageData && (
|
{!shareUsageData && !IS_WEB && (
|
||||||
<FormField
|
<FormField
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
name="share_data_checkbox"
|
name="share_data_checkbox"
|
||||||
|
|
Loading…
Reference in a new issue