feat(release): 3.3.5 with support of operator voice
This commit is contained in:
@@ -71,8 +71,9 @@ export default class Settings {
|
||||
}
|
||||
|
||||
insights(isWallpaperEngine, doNotTrack) {
|
||||
if (this.#isInsightsInited || import.meta.env.MODE === 'development') return
|
||||
this.#isInsightsInited = true
|
||||
if (this.#isInsightsInited || doNotTrack || import.meta.env.MODE === 'development') return
|
||||
if (doNotTrack || this.#doNotTrack) return
|
||||
this.#doNotTrack = doNotTrack
|
||||
window.umami?.trackView(`/${import.meta.env.VITE_LINK}${isWallpaperEngine ? "?steam" : ""}`);
|
||||
}
|
||||
|
||||
@@ -5,7 +5,9 @@ window.wallpaperPropertyListener = {
|
||||
}
|
||||
},
|
||||
applyUserProperties: function (properties) {
|
||||
window.settings.insights(true, false)
|
||||
if (properties.privacydonottrack) {
|
||||
window.settings.insights(true, !properties.privacydonottrack.value)
|
||||
}
|
||||
if (properties.logo) {
|
||||
window.settings.setLogoDisplay(!properties.logo.value)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user