formatting

This commit is contained in:
JackTheRooster 2025-03-04 21:43:40 -06:00
parent 6675c7d19d
commit 0275769614
1 changed files with 49 additions and 49 deletions

View File

@ -855,9 +855,9 @@ export default function SettingsSidebar() {
label="" label=""
value={currentTheme} value={currentTheme}
options={[ options={[
{value: "system", label: "System"}, { value: "system", label: "System" },
{value: "light", label: "Light"}, { value: "light", label: "Light" },
{value: "dark", label: "Dark"}, { value: "dark", label: "Dark" },
]} ]}
onChange={e => { onChange={e => {
setCurrentTheme(e.target.value); setCurrentTheme(e.target.value);
@ -896,10 +896,10 @@ export default function SettingsSidebar() {
label="" label=""
value={settings.backlightSettings.max_brightness.toString()} value={settings.backlightSettings.max_brightness.toString()}
options={[ options={[
{value: "0", label: "Off"}, { value: "0", label: "Off" },
{value: "10", label: "Low"}, { value: "10", label: "Low" },
{value: "35", label: "Medium"}, { value: "35", label: "Medium" },
{value: "64", label: "High"}, { value: "64", label: "High" },
]} ]}
onChange={e => { onChange={e => {
settings.backlightSettings.max_brightness = parseInt(e.target.value) settings.backlightSettings.max_brightness = parseInt(e.target.value)