tracking: rename setAllowed to setConsent
This commit is contained in:
@@ -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.
|
* will be executed.
|
||||||
*/
|
*/
|
||||||
setAllowed(value: boolean) {
|
setConsent(value: boolean) {
|
||||||
if (this._consent === value) return;
|
if (this._consent === value) return;
|
||||||
this._consent = value;
|
this._consent = value;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user