Fixed wifi name spacing

This commit is contained in:
Jas Singh
2024-07-25 01:41:08 -07:00
parent b289c0b271
commit 4234680ad2

View File

@@ -14,7 +14,7 @@ const Network = () => {
[network.bind("wifi"), options.bar.network.label.bind("value")], [network.bind("wifi"), options.bar.network.label.bind("value")],
(wifi, showLabel) => { (wifi, showLabel) => {
if (showLabel) { if (showLabel) {
return wifi.ssid ? wifi.ssid.substring(0, 7) : " --"; return wifi.ssid ? ` ${wifi.ssid.substring(0, 7)}` : " --";
} }
return ""; return "";
}, },