diff --git a/package.json b/package.json index 4f05e969d..673e29b29 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "vencord", "private": "true", - "version": "1.13.0", + "version": "1.13.1", "description": "The cutest Discord client mod", "homepage": "https://github.com/Vendicated/Vencord#readme", "bugs": { diff --git a/src/components/FormSwitch.css b/src/components/FormSwitch.css index d2a90064f..38cbea8d7 100644 --- a/src/components/FormSwitch.css +++ b/src/components/FormSwitch.css @@ -11,6 +11,12 @@ } } +.vc-form-switch-disabled { + opacity: 0.5; + pointer-events: none; + cursor: not-allowed; +} + .vc-form-switch-text { display: flex; flex-direction: column; diff --git a/src/components/FormSwitch.tsx b/src/components/FormSwitch.tsx index 12b0ab127..3f207c2b3 100644 --- a/src/components/FormSwitch.tsx +++ b/src/components/FormSwitch.tsx @@ -27,7 +27,7 @@ export interface FormSwitchProps { export function FormSwitch({ onChange, title, value, description, disabled, className, hideBorder }: FormSwitchProps) { return (