Now it even handles null case.

This commit is contained in:
Mephisto
2025-06-17 20:22:05 +03:00
committed by GitHub
parent 7a104098d8
commit 61d299db75
+1 -1
View File
@@ -92,7 +92,7 @@ export const PageNetwork: (() => Page) = () => new Page({
new Widget.Label({ new Widget.Label({
className: "ssid", className: "ssid",
halign: Gtk.Align.START, halign: Gtk.Align.START,
label: getDecoded(ap.ssid.get_data()) ?? "Wi-Fi" label: (getDecoded(ap.ssid.get_data()) ?? ap.ssid.get_data().toString()) ?? "Wi-Fi"
} as Widget.LabelProps), } as Widget.LabelProps),
new Widget.Label({ new Widget.Label({
className: "status", className: "status",