Add opt-out for metric reporting
co-authored-by: kay <kay@zed.dev>
This commit is contained in:
parent
866f0e1344
commit
37a4de1a84
6 changed files with 76 additions and 19 deletions
|
@ -148,7 +148,11 @@ fn main() {
|
|||
.detach();
|
||||
|
||||
client.start_telemetry();
|
||||
client.report_event("start app", Default::default());
|
||||
client.report_event(
|
||||
"start app",
|
||||
Default::default(),
|
||||
cx.global::<Settings>().telemetry(),
|
||||
);
|
||||
|
||||
let app_state = Arc::new(AppState {
|
||||
languages,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue