This commit is contained in:
Vendicated
2023-04-10 19:18:00 +02:00
parent c0598821ee
commit 90b8c5fdfe
2 changed files with 4 additions and 11 deletions

View File

@@ -22,18 +22,13 @@ export default function SettingsUi() {
} = Common;
const switches: [keyof typeof Settings, string, string, boolean?, (() => boolean)?][] = [
[
"tray",
"Tray Icon",
"Add a tray icon for Vencord Desktop",
true
],
["tray", "Tray Icon", "Add a tray icon for Vencord Desktop", true],
[
"minimizeToTray",
"Minimize to tray",
"Hitting X will make Vencord Desktop minimize to the tray instead of closing",
true,
() => Settings["tray"] ?? true
() => Settings.tray ?? true
],
[
"disableMinSize",