Temp fix for disabling Sentry
This commit is contained in:
parent
cbc7f7230a
commit
96873ccef7
|
@ -20,6 +20,12 @@ import { definePluginSettings } from "@api/Settings";
|
||||||
import { Devs } from "@utils/constants";
|
import { Devs } from "@utils/constants";
|
||||||
import definePlugin, { OptionType } from "@utils/types";
|
import definePlugin, { OptionType } from "@utils/types";
|
||||||
|
|
||||||
|
// FIXME Do this without monkey patching maybe
|
||||||
|
Object.defineProperty(window, "DiscordSentry", {
|
||||||
|
configurable: true,
|
||||||
|
set(v) { }
|
||||||
|
});
|
||||||
|
|
||||||
const settings = definePluginSettings({
|
const settings = definePluginSettings({
|
||||||
disableAnalytics: {
|
disableAnalytics: {
|
||||||
type: OptionType.BOOLEAN,
|
type: OptionType.BOOLEAN,
|
||||||
|
|
Loading…
Reference in a new issue