feat: Add option to disable the window frame (#400)

Co-authored-by: Ven <vendicated@riseup.net>
This commit is contained in:
Nick 2023-01-12 17:48:37 -05:00 committed by GitHub
parent e70abc57b6
commit 10fd51071e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 2 deletions

View file

@ -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>
)}