From ed544d81f957260b0f4022ceecde152d5b26cda6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20=C5=9Al=C4=99zak?= Date: Thu, 29 Oct 2026 09:51:44 +0100 Subject: [PATCH] update settings general tab --- .../tabs/GeneralTab/GeneralTab.tsx | 32 ++++++++++--------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/new-ui/src/pages/full/SettingsPage/tabs/GeneralTab/GeneralTab.tsx b/new-ui/src/pages/full/SettingsPage/tabs/GeneralTab/GeneralTab.tsx index 2034685d..dc174f13 100644 --- a/new-ui/src/pages/full/SettingsPage/tabs/GeneralTab/GeneralTab.tsx +++ b/new-ui/src/pages/full/SettingsPage/tabs/GeneralTab/GeneralTab.tsx @@ -1,9 +1,11 @@ import { useMemo } from 'react'; +import { Divider } from '../../../../../shared/components/Divider/Divider'; import { Input } from '../../../../../shared/components/Input/Input'; import { Select } from '../../../../../shared/components/Select/Select'; import type { SelectOption } from '../../../../../shared/components/Select/types'; import { Toggle } from '../../../../../shared/components/Toggle/Toggle'; import { type AppConfig, LogLevel } from '../../../../../shared/rust-api/types'; +import { ThemeSpacing } from '../../../../../shared/types'; import { SettingRow } from '../../components/SettingRow/SettingRow'; import { SettingsFooter } from '../../components/SettingsFooter/SettingsFooter'; import { usePatchAppConfig } from '../../hooks/usePatchAppConfig'; @@ -71,21 +73,21 @@ export const GeneralTab = ({ appConfig }: Props) => { /> - - patchConfig({ check_for_updates: !appConfig.check_for_updates })} - /> - - - - - patchConfig({ auto_start_openid_mfa: !appConfig.auto_start_openid_mfa }) - } - /> - + patchConfig({ check_for_updates: !appConfig.check_for_updates })} + /> + + + patchConfig({ auto_start_openid_mfa: !appConfig.auto_start_openid_mfa }) + } + /> +