aboutsummaryrefslogtreecommitdiff
path: root/src/components/VencordSettings/VencordTab.tsx
diff options
context:
space:
mode:
authorV <vendicated@riseup.net>2023-09-21 18:56:58 +0200
committerV <vendicated@riseup.net>2023-09-21 18:56:58 +0200
commit97b6699afefe373d510dda5589a0754a4b380153 (patch)
tree112c8dd963aa4ed64702c9444738fbcca9d4674a /src/components/VencordSettings/VencordTab.tsx
parent7e91edc7577ba65fab08bc45c07cbd6f1756bd6f (diff)
downloadVencord-97b6699afefe373d510dda5589a0754a4b380153.tar.gz
Vencord-97b6699afefe373d510dda5589a0754a4b380153.tar.bz2
Vencord-97b6699afefe373d510dda5589a0754a4b380153.zip
Fuck you Mozilla
Diffstat (limited to 'src/components/VencordSettings/VencordTab.tsx')
-rw-r--r--src/components/VencordSettings/VencordTab.tsx15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/components/VencordSettings/VencordTab.tsx b/src/components/VencordSettings/VencordTab.tsx
index a8e9ea5..520e4da 100644
--- a/src/components/VencordSettings/VencordTab.tsx
+++ b/src/components/VencordSettings/VencordTab.tsx
@@ -21,6 +21,7 @@ import { Settings, useSettings } from "@api/Settings";
import { classNameFactory } from "@api/Styles";
import DonateButton from "@components/DonateButton";
import { ErrorCard } from "@components/ErrorCard";
+import { IsFirefox } from "@utils/constants";
import { Margins } from "@utils/margins";
import { identity } from "@utils/misc";
import { relaunch, showItemInFolder } from "@utils/native";
@@ -109,12 +110,14 @@ function VencordSettings() {
Restart Client
</Button>
)}
- <Button
- onClick={() => VencordNative.quickCss.openEditor()}
- size={Button.Sizes.SMALL}
- disabled={settingsDir === "Loading..."}>
- Open QuickCSS File
- </Button>
+ {!IsFirefox && (
+ <Button
+ onClick={() => VencordNative.quickCss.openEditor()}
+ size={Button.Sizes.SMALL}
+ disabled={settingsDir === "Loading..."}>
+ Open QuickCSS File
+ </Button>
+ )}
{!IS_WEB && (
<Button
onClick={() => showItemInFolder(settingsDir)}