Skip to content

Commit

Permalink
Record fx_protection_mode_changed
Browse files Browse the repository at this point in the history
  • Loading branch information
strseb committed Dec 10, 2024
1 parent af762bc commit 380c9c5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/background/telemetry.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ export class Telemetry {
if (state.enabled == this.#enabled) {
return;
}
this.record("fx_protection_mode_changed", {
message_state: state.name,
});
this.#enabled = state.enabled;
this.#enabled ? this.startSession() : this.stopSession();
});
Expand Down

0 comments on commit 380c9c5

Please sign in to comment.