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() {
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"