mirror of
https://github.com/Vendicated/Vencord
synced 2024-08-26 11:49:13 -04:00
Temp fix for disabling Sentry
This commit is contained in:
parent
cbc7f7230a
commit
96873ccef7
1 changed files with 6 additions and 0 deletions
|
@ -20,6 +20,12 @@ import { definePluginSettings } from "@api/Settings";
|
|||
import { Devs } from "@utils/constants";
|
||||
import definePlugin, { OptionType } from "@utils/types";
|
||||
|
||||
// FIXME Do this without monkey patching maybe
|
||||
Object.defineProperty(window, "DiscordSentry", {
|
||||
configurable: true,
|
||||
set(v) { }
|
||||
});
|
||||
|
||||
const settings = definePluginSettings({
|
||||
disableAnalytics: {
|
||||
type: OptionType.BOOLEAN,
|
||||
|
|
Loading…
Reference in a new issue