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() {
|
||||
setSync(formSyncEnabled);
|
||||
addUserEmail(newEmail);
|
||||
// @if TARGET='app'
|
||||
setShareDiagnosticData(true);
|
||||
// @endif
|
||||
analytics.emailProvidedEvent();
|
||||
}
|
||||
|
||||
|
@ -73,7 +75,7 @@ function UserEmailNew(props: Props) {
|
|||
/>
|
||||
)}
|
||||
|
||||
{!shareUsageData && (
|
||||
{!shareUsageData && !IS_WEB && (
|
||||
<FormField
|
||||
type="checkbox"
|
||||
name="share_data_checkbox"
|
||||
|
|
Loading…
Reference in a new issue