[enhancement]: support serach on settings page

This commit is contained in:
Kendall Garner 2024-05-05 13:25:05 -07:00
parent 683bb0222c
commit 645697367d
No known key found for this signature in database
GPG key ID: 18D2767419676C87
21 changed files with 439 additions and 385 deletions

View file

@ -8,6 +8,7 @@ import {
import { Switch } from '/@/renderer/components';
const localSettings = isElectron() ? window.electron.localSettings : null;
const utils = isElectron() ? window.electron.utils : null;
export const UpdateSettings = () => {
const { t } = useTranslation();
@ -42,5 +43,10 @@ export const UpdateSettings = () => {
},
];
return <SettingsSection options={updateOptions} />;
return (
<SettingsSection
divider={utils?.isLinux()}
options={updateOptions}
/>
);
};