feat(setttings): support auto launch config (#415)
Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Haze <hazeone@users.noreply.github.com>
This commit is contained in:
@@ -53,6 +53,8 @@ export function Settings() {
|
||||
setTheme,
|
||||
language,
|
||||
setLanguage,
|
||||
launchAtStartup,
|
||||
setLaunchAtStartup,
|
||||
gatewayAutoStart,
|
||||
setGatewayAutoStart,
|
||||
proxyEnabled,
|
||||
@@ -435,6 +437,18 @@ export function Settings() {
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
<div className="flex items-center justify-between">
|
||||
<div>
|
||||
<Label className="text-[15px] font-medium text-foreground/80">{t('appearance.launchAtStartup')}</Label>
|
||||
<p className="text-[13px] text-muted-foreground mt-1">
|
||||
{t('appearance.launchAtStartupDesc')}
|
||||
</p>
|
||||
</div>
|
||||
<Switch
|
||||
checked={launchAtStartup}
|
||||
onCheckedChange={setLaunchAtStartup}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user