mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2024-11-16 03:32:36 +08:00
chore: checkbox items' title & button icons
Some checks are pending
Alpha Build / alpha (macos-latest, aarch64-apple-darwin) (push) Waiting to run
Alpha Build / alpha (macos-latest, x86_64-apple-darwin) (push) Waiting to run
Alpha Build / alpha (windows-latest, aarch64-pc-windows-msvc) (push) Waiting to run
Alpha Build / alpha (windows-latest, i686-pc-windows-msvc) (push) Waiting to run
Alpha Build / alpha (windows-latest, x86_64-pc-windows-msvc) (push) Waiting to run
Alpha Build / alpha-for-linux (ubuntu-latest, aarch64-unknown-linux-gnu) (push) Waiting to run
Alpha Build / alpha-for-linux (ubuntu-latest, armv7-unknown-linux-gnueabihf) (push) Waiting to run
Alpha Build / alpha-for-linux (ubuntu-latest, i686-unknown-linux-gnu) (push) Waiting to run
Alpha Build / alpha-for-linux (ubuntu-latest, x86_64-unknown-linux-gnu) (push) Waiting to run
Alpha Build / alpha-for-fixed-webview2 (arm64, windows-latest, aarch64-pc-windows-msvc) (push) Waiting to run
Alpha Build / alpha-for-fixed-webview2 (x64, windows-latest, x86_64-pc-windows-msvc) (push) Waiting to run
Alpha Build / alpha-for-fixed-webview2 (x86, windows-latest, i686-pc-windows-msvc) (push) Waiting to run
Alpha Build / Update tag (push) Blocked by required conditions
Some checks are pending
Alpha Build / alpha (macos-latest, aarch64-apple-darwin) (push) Waiting to run
Alpha Build / alpha (macos-latest, x86_64-apple-darwin) (push) Waiting to run
Alpha Build / alpha (windows-latest, aarch64-pc-windows-msvc) (push) Waiting to run
Alpha Build / alpha (windows-latest, i686-pc-windows-msvc) (push) Waiting to run
Alpha Build / alpha (windows-latest, x86_64-pc-windows-msvc) (push) Waiting to run
Alpha Build / alpha-for-linux (ubuntu-latest, aarch64-unknown-linux-gnu) (push) Waiting to run
Alpha Build / alpha-for-linux (ubuntu-latest, armv7-unknown-linux-gnueabihf) (push) Waiting to run
Alpha Build / alpha-for-linux (ubuntu-latest, i686-unknown-linux-gnu) (push) Waiting to run
Alpha Build / alpha-for-linux (ubuntu-latest, x86_64-unknown-linux-gnu) (push) Waiting to run
Alpha Build / alpha-for-fixed-webview2 (arm64, windows-latest, aarch64-pc-windows-msvc) (push) Waiting to run
Alpha Build / alpha-for-fixed-webview2 (x64, windows-latest, x86_64-pc-windows-msvc) (push) Waiting to run
Alpha Build / alpha-for-fixed-webview2 (x86, windows-latest, i686-pc-windows-msvc) (push) Waiting to run
Alpha Build / Update tag (push) Blocked by required conditions
This commit is contained in:
parent
49e36b6e00
commit
f85f7758e6
|
@ -30,6 +30,8 @@ import {
|
|||
TextField,
|
||||
styled,
|
||||
} from "@mui/material";
|
||||
import VerticalAlignTopIcon from "@mui/icons-material/VerticalAlignTop";
|
||||
import VerticalAlignBottomIcon from "@mui/icons-material/VerticalAlignBottom";
|
||||
import { GroupItem } from "@/components/profile/group-item";
|
||||
import {
|
||||
getNetworkInterfaces,
|
||||
|
@ -402,6 +404,11 @@ export const GroupsEditorViewer = (props: Props) => {
|
|||
disableCloseOnSelect
|
||||
onChange={(_, value) => value && field.onChange(value)}
|
||||
renderInput={(params) => <TextField {...params} />}
|
||||
renderOption={(props, option) => (
|
||||
<li {...props} title={t(option)}>
|
||||
{option}
|
||||
</li>
|
||||
)}
|
||||
/>
|
||||
</Item>
|
||||
)}
|
||||
|
@ -705,6 +712,7 @@ export const GroupsEditorViewer = (props: Props) => {
|
|||
<Button
|
||||
fullWidth
|
||||
variant="contained"
|
||||
startIcon={<VerticalAlignTopIcon />}
|
||||
onClick={() => {
|
||||
try {
|
||||
validateGroup();
|
||||
|
@ -726,6 +734,7 @@ export const GroupsEditorViewer = (props: Props) => {
|
|||
<Button
|
||||
fullWidth
|
||||
variant="contained"
|
||||
startIcon={<VerticalAlignBottomIcon />}
|
||||
onClick={() => {
|
||||
try {
|
||||
validateGroup();
|
||||
|
|
|
@ -24,10 +24,11 @@ import {
|
|||
DialogTitle,
|
||||
List,
|
||||
ListItem,
|
||||
ListItemText,
|
||||
TextField,
|
||||
styled,
|
||||
} from "@mui/material";
|
||||
import VerticalAlignTopIcon from "@mui/icons-material/VerticalAlignTop";
|
||||
import VerticalAlignBottomIcon from "@mui/icons-material/VerticalAlignBottom";
|
||||
import { ProxyItem } from "@/components/profile/proxy-item";
|
||||
import { readProfileFile, saveProfileFile } from "@/services/cmds";
|
||||
import { Notice } from "@/components/base";
|
||||
|
@ -270,6 +271,7 @@ export const ProxiesEditorViewer = (props: Props) => {
|
|||
<Button
|
||||
fullWidth
|
||||
variant="contained"
|
||||
startIcon={<VerticalAlignTopIcon />}
|
||||
onClick={() => {
|
||||
let proxies = handleParse();
|
||||
setPrependSeq([...prependSeq, ...proxies]);
|
||||
|
@ -282,6 +284,7 @@ export const ProxiesEditorViewer = (props: Props) => {
|
|||
<Button
|
||||
fullWidth
|
||||
variant="contained"
|
||||
startIcon={<VerticalAlignBottomIcon />}
|
||||
onClick={() => {
|
||||
let proxies = handleParse();
|
||||
setAppendSeq([...appendSeq, ...proxies]);
|
||||
|
|
|
@ -29,7 +29,8 @@ import {
|
|||
TextField,
|
||||
styled,
|
||||
} from "@mui/material";
|
||||
|
||||
import VerticalAlignTopIcon from "@mui/icons-material/VerticalAlignTop";
|
||||
import VerticalAlignBottomIcon from "@mui/icons-material/VerticalAlignBottom";
|
||||
import { readProfileFile, saveProfileFile } from "@/services/cmds";
|
||||
import { Notice, Switch } from "@/components/base";
|
||||
import getSystem from "@/utils/get-system";
|
||||
|
@ -535,6 +536,7 @@ export const RulesEditorViewer = (props: Props) => {
|
|||
<Button
|
||||
fullWidth
|
||||
variant="contained"
|
||||
startIcon={<VerticalAlignTopIcon />}
|
||||
onClick={() => {
|
||||
try {
|
||||
let raw = validateRule();
|
||||
|
@ -552,6 +554,7 @@ export const RulesEditorViewer = (props: Props) => {
|
|||
<Button
|
||||
fullWidth
|
||||
variant="contained"
|
||||
startIcon={<VerticalAlignBottomIcon />}
|
||||
onClick={() => {
|
||||
try {
|
||||
let raw = validateRule();
|
||||
|
|
Loading…
Reference in New Issue
Block a user