From 7bfd4fe1482123f19450dcbfac897e5561ec83ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Fri, 5 Aug 2022 00:32:24 +0200 Subject: [PATCH] status/network: Sync active access point from constructor The wireless device item tracks the active access point in order to update its icon on signal strength changes. However we currently don't synchronize the initial state, so we miss strength changes until the first access-point change. Part-of: --- js/ui/status/network.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/ui/status/network.js b/js/ui/status/network.js index efe022ae1..904abf584 100644 --- a/js/ui/status/network.js +++ b/js/ui/status/network.js @@ -1273,6 +1273,7 @@ var NMDeviceWireless = class extends Signals.EventEmitter { 'notify::active-access-point', this._activeApChanged.bind(this), 'state-changed', this._deviceStateChanged.bind(this), this); + this._activeApChanged(); this._sync(); }