refactor(privacy): drop the diagnostics reporting toggle until a reporter exists

This commit is contained in:
2026-07-10 11:38:47 -04:00
parent 07cd598f75
commit b87f9ae2d4
8 changed files with 15 additions and 200 deletions
+3 -14
View File
@@ -1,8 +1,8 @@
use ely_browser_core::SyncEngine;
use ely_domain::{
ArchivePolicy, DEFAULT_TRANSLUCENCY_PCT, DiagnosticsReportingPolicy, DownloadPolicy,
FavoriteLimit, HistoryRecordingPolicy, NewTabDestination, ProfileId, ProfileSyncPolicy,
SearchEngine, SyncObjectKind, SyncObjectPolicy, ThemeMode, WallpaperTheme,
ArchivePolicy, DEFAULT_TRANSLUCENCY_PCT, DownloadPolicy, FavoriteLimit, HistoryRecordingPolicy,
NewTabDestination, ProfileId, ProfileSyncPolicy, SearchEngine, SyncObjectKind,
SyncObjectPolicy, ThemeMode, WallpaperTheme,
};
use gpui::Context;
use gpui_component::slider::SliderValue;
@@ -149,17 +149,6 @@ impl ElyShell {
}
}
pub(super) fn set_diagnostics_reporting_policy(
&mut self,
policy: DiagnosticsReportingPolicy,
cx: &mut Context<Self>,
) {
if let ShellState::Ready(core) = &mut self.state {
core.set_diagnostics_reporting_policy(policy);
cx.notify();
}
}
pub(super) fn reset_privacy_settings(&mut self, cx: &mut Context<Self>) {
if let ShellState::Ready(core) = &mut self.state {
core.reset_privacy_settings();