We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7588290 commit f889261Copy full SHA for f889261
lib/app_configuration/widgets/reporting_settings_form.dart
@@ -67,6 +67,24 @@ class ReportingSettingsForm extends StatelessWidget {
67
);
68
},
69
),
70
+ SwitchListTile(
71
+ title: Text(l10n.enableSourceReportingLabel),
72
+ value: reportingConfig.sourceReportingEnabled,
73
+ onChanged: (value) {
74
+ final newConfig = reportingConfig.copyWith(
75
+ sourceReportingEnabled: value,
76
+ );
77
+ onConfigChanged(
78
+ remoteConfig.copyWith(
79
+ features: remoteConfig.features.copyWith(
80
+ community: communityConfig.copyWith(
81
+ reporting: newConfig,
82
+ ),
83
84
85
86
+ },
87
88
SwitchListTile(
89
title: Text(l10n.enableCommentReportingLabel),
90
value: reportingConfig.commentReportingEnabled,
0 commit comments