optimize the icon of API controller
This commit is contained in:
@@ -11,7 +11,6 @@ import {
|
|||||||
LanRounded,
|
LanRounded,
|
||||||
SettingsRounded
|
SettingsRounded
|
||||||
} from "@mui/icons-material";
|
} from "@mui/icons-material";
|
||||||
import ErrorOutlineRounded from '@mui/icons-material/ErrorOutlineRounded';
|
|
||||||
import { MenuItem, Select, TextField, Typography } from "@mui/material";
|
import { MenuItem, Select, TextField, Typography } from "@mui/material";
|
||||||
import { invoke } from "@tauri-apps/api/core";
|
import { invoke } from "@tauri-apps/api/core";
|
||||||
import { useLockFn } from "ahooks";
|
import { useLockFn } from "ahooks";
|
||||||
@@ -227,9 +226,7 @@ const SettingClash = ({ onError }: Props) => {
|
|||||||
{t("External")}
|
{t("External")}
|
||||||
<TooltipIcon
|
<TooltipIcon
|
||||||
title={t("Enable one-click random API port and key. Click to randomize the port and key")}
|
title={t("Enable one-click random API port and key. Click to randomize the port and key")}
|
||||||
color={"error"}
|
sx={{ opacity: "0.7" }}
|
||||||
icon={ErrorOutlineRounded}
|
|
||||||
sx={{ fontSize: "0.875em", ml: 0.5 }}
|
|
||||||
/>
|
/>
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user