mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 04:53:44 +08:00
parent
02e19b3d44
commit
4e438a44f1
@ -76,7 +76,7 @@ export const ProxyRender = (props: RenderProps) => {
|
|||||||
group.icon.trim().startsWith("http") && (
|
group.icon.trim().startsWith("http") && (
|
||||||
<img
|
<img
|
||||||
src={iconCachePath === "" ? group.icon : iconCachePath}
|
src={iconCachePath === "" ? group.icon : iconCachePath}
|
||||||
height="32px"
|
width="32px"
|
||||||
style={{ marginRight: "12px", borderRadius: "6px" }}
|
style={{ marginRight: "12px", borderRadius: "6px" }}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
@ -85,7 +85,7 @@ export const ProxyRender = (props: RenderProps) => {
|
|||||||
group.icon.trim().startsWith("data") && (
|
group.icon.trim().startsWith("data") && (
|
||||||
<img
|
<img
|
||||||
src={group.icon}
|
src={group.icon}
|
||||||
height="32px"
|
width="32px"
|
||||||
style={{ marginRight: "12px", borderRadius: "6px" }}
|
style={{ marginRight: "12px", borderRadius: "6px" }}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
@ -94,7 +94,7 @@ export const ProxyRender = (props: RenderProps) => {
|
|||||||
group.icon.trim().startsWith("<svg") && (
|
group.icon.trim().startsWith("<svg") && (
|
||||||
<img
|
<img
|
||||||
src={`data:image/svg+xml;base64,${btoa(group.icon)}`}
|
src={`data:image/svg+xml;base64,${btoa(group.icon)}`}
|
||||||
height="32px"
|
width="32px"
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
<ListItemText
|
<ListItemText
|
||||||
|
Loading…
x
Reference in New Issue
Block a user