feat: Add start as minimized toggle to settings (#248)

Co-authored-by: TheKodeToad <TheKodeToad@proton.me>
Co-authored-by: V <vendicated@riseup.net>
Co-authored-by: Lewis Crichton <lewi@lewisakura.moe>
This commit is contained in:
Michal Vaniš
2023-12-09 14:42:44 +01:00
committed by GitHub
parent 4974848a56
commit 40b952d8bf
4 changed files with 15 additions and 8 deletions

View File

@@ -49,7 +49,8 @@ export default function SettingsUi() {
"Open Links in app (experimental)",
"Opens links in a new Vesktop window instead of your web browser"
],
["checkUpdates", "Check for updates", "Automatically check for Vesktop updates", true]
["checkUpdates", "Check for updates", "Automatically check for Vesktop updates", true],
["startMinimized", "Start minimized", "Vesktop remains in minimized mode on start", false]
];
const switches = allSwitches.filter(isTruthy);