This commit is contained in:
yangy
2026-04-23 18:00:33 +08:00
parent 4da1fcd53f
commit 6cce6d1f73
3 changed files with 188 additions and 90 deletions
+6 -2
View File
@@ -32,7 +32,6 @@ import {
Activity,
Gauge,
ChevronDown,
Zap,
Wifi,
Bluetooth,
} from "lucide-react";
@@ -462,7 +461,12 @@ export default function Home() {
className={cn("icon-circle-btn", bypassOn && "active")}
onClick={() => updateSetting({ dsp_enable: bypassOn ? 1 : 0 })}
>
<Zap size={22} className={bypassOn ? "text-[#00FFF6]" : "text-white/60"} />
<img
src={`${import.meta.env.BASE_URL}home/bypass.png`}
alt="Bypass"
className="w-[25px] h-[25px] object-contain"
style={{ opacity: bypassOn ? 1 : 0.6, transform: "translateX(1.5px)" }}
/>
</button>
<span className={cn("text-[11px]", bypassOn ? "text-[#00FFF6]" : "text-white/35")}>Bypass</span>
</div>