tracking: rename setAllowed to setConsent

This commit is contained in:
2025-12-16 17:56:06 -08:00
parent ae08a564a8
commit 51dfcfde59
+2 -2
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;