mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-05 04:01:39 +00:00
[enhancement]: support serach on settings page
This commit is contained in:
parent
683bb0222c
commit
645697367d
21 changed files with 439 additions and 385 deletions
|
|
@ -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}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue