follow system theme

This commit is contained in:
tk103331
2023-01-04 16:55:34 +08:00
parent f26dace129
commit 845229d629
4 changed files with 28 additions and 4 deletions

View File

@@ -111,6 +111,11 @@ export default function General() {
<Radio.Group>
<Radio value="Light">Light</Radio>
<Radio value="Dark">Dark</Radio>
{
(["darwin", "windows"].includes(platformInfo) ) && (
<Radio value="System">System</Radio>
)
}
</Radio.Group>
</Form.Item>
<Form.Item label="Stay On Top" name="stay_on_top" valuePropName="checked">