Touch up network menu and finish bluetooth menu rework.
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
const renderWapStaging = (self, network, staging, connecting) => {
|
||||
Utils.merge([network.bind("wifi"), staging.bind("value")], () => {
|
||||
console.log(JSON.stringify(network, null, 2));
|
||||
if (!Object.keys(staging.value).length) {
|
||||
return (self.child = Widget.Box());
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ const Wifi = () => {
|
||||
child: Widget.Label({
|
||||
class_name: "menu-label",
|
||||
hexpand: true,
|
||||
hpack: "center",
|
||||
hpack: "start",
|
||||
label: "Wi-Fi",
|
||||
}),
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user