aboutsummaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorNick <nwowens32@gmail.com>2023-01-12 17:48:37 -0500
committerGitHub <noreply@github.com>2023-01-12 23:48:37 +0100
commit10fd51071e90c47b6cd0041fb1260ea284864905 (patch)
treed3a75d1fb0043f40cf4ae57a693c03baba88ddf6 /src/components
parente70abc57b6885e97dff54b89e752ab6df949bd67 (diff)
downloadVencord-10fd51071e90c47b6cd0041fb1260ea284864905.tar.gz
Vencord-10fd51071e90c47b6cd0041fb1260ea284864905.tar.bz2
Vencord-10fd51071e90c47b6cd0041fb1260ea284864905.zip
feat: Add option to disable the window frame (#400)
Co-authored-by: Ven <vendicated@riseup.net>
Diffstat (limited to 'src/components')
-rw-r--r--src/components/VencordSettings/VencordTab.tsx6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/components/VencordSettings/VencordTab.tsx b/src/components/VencordSettings/VencordTab.tsx
index e59c449..9429cdd 100644
--- a/src/components/VencordSettings/VencordTab.tsx
+++ b/src/components/VencordSettings/VencordTab.tsx
@@ -106,6 +106,12 @@ function VencordSettings() {
note="Shows a toast on startup">
Get notified about new updates
</Switch>
+ <Switch
+ value={settings.frameless}
+ onChange={(v: boolean) => settings.frameless = v}
+ note="Requires a full restart">
+ Disable the window frame
+ </Switch>
</React.Fragment>
)}