tracking: rename setAllowed to setConsent

This commit is contained in:
Elijah Duffy
2025-12-16 17:56:06 -08:00
parent ae08a564a8
commit 51dfcfde59

View File

@@ -77,10 +77,10 @@ export class TrackingManager {
}
/**
* Sets whether tracking is allowed. If set to true, all queued callbacks
* Sets whether tracking is consented. If set to true, all queued callbacks
* will be executed.
*/
setAllowed(value: boolean) {
setConsent(value: boolean) {
if (this._consent === value) return;
this._consent = value;