hide data toggle on web

This commit is contained in:
Sean Yesmunt 2020-02-24 15:47:27 -05:00
parent 6b27fde4a2
commit da40fdce9c

View file

@ -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"