diff options
Diffstat (limited to 'extension.js')
-rw-r--r-- | extension.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/extension.js b/extension.js index 403d956..0a9b9d2 100644 --- a/extension.js +++ b/extension.js @@ -95,15 +95,14 @@ class BluetoothQuickConnect { if (isOpen && this._autoPowerOnEnabled()) this._proxy.BluetoothAirplaneMode = false; }); - + this._connectSignal(this._model, 'row-changed', () => this._sync()); this._connectSignal(this._model, 'row-deleted', () => this._sync()); this._connectSignal(this._model, 'row-inserted', () => this._sync()); + this._proxy.BluetoothAirplaneMode = false; this._idleMonitor(); - if (!this._proxy.BluetoothAirplaneMode) { - this._sync(); - } + this._sync(); } disable() { |