From 0b992a6a11eae2c2923813da4707f1a72065df60 Mon Sep 17 00:00:00 2001 From: Arindy Date: Sun, 28 Dec 2025 11:35:08 +0100 Subject: [PATCH] Fix handling of offline interface status in NetworkDevices widget --- widgets/networkdevices.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widgets/networkdevices.go b/widgets/networkdevices.go index bd50e6c..7934330 100644 --- a/widgets/networkdevices.go +++ b/widgets/networkdevices.go @@ -30,7 +30,7 @@ func createNetworkDevicesList(ctx context.Context, _ terminalapi.Terminal, _ int list.Reset() for _, iface := range sortedInterfaces(interfaces) { status := cell.ColorGreen - if iface == "offline" { + if iface == "_offline_" { status = cell.ColorGray } if err := list.Write(fmt.Sprintf("=== %s ===\n", iface)); err != nil {