mirror of
https://github.com/FranP-code/ChatGPT.git
synced 2025-10-13 00:13:25 +00:00
fix: close (#349)
This commit is contained in:
14
src/view/settings/MainWindow.tsx
vendored
14
src/view/settings/MainWindow.tsx
vendored
@@ -30,12 +30,26 @@ const PopupSearchLabel = () => {
|
||||
);
|
||||
};
|
||||
|
||||
const MainCloseLabel = () => {
|
||||
return (
|
||||
<span>
|
||||
Close Exit{' '}
|
||||
<Tooltip title="Click the close button whether to exit directly, the default minimized.">
|
||||
<QuestionCircleOutlined style={{ color: '#1677ff' }} />
|
||||
</Tooltip>
|
||||
</span>
|
||||
);
|
||||
};
|
||||
|
||||
export default function MainWindow() {
|
||||
return (
|
||||
<>
|
||||
<Form.Item label={<PopupSearchLabel />} name="popup_search" valuePropName="checked">
|
||||
<Switch />
|
||||
</Form.Item>
|
||||
<Form.Item label={<MainCloseLabel />} name="main_close" valuePropName="checked">
|
||||
<Switch />
|
||||
</Form.Item>
|
||||
<SwitchOrigin name="main" />
|
||||
<Form.Item label="User Agent (Main)" name="ua_window">
|
||||
<Input.TextArea
|
||||
|
||||
Reference in New Issue
Block a user