status/bluetooth: Fix call to undefined method

The method started out as private and was then made public without
updating the internal caller, whoops.

Spotted by Sebastian Keller.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5722

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2409>
This commit is contained in:
Florian Müllner 2022-08-08 02:54:11 +02:00 committed by Marge Bot
parent 9bd91ca4d8
commit 0c7446c1fc

View File

@ -42,7 +42,7 @@ const BtClient = GObject.registerClass({
const newAdapter = this._client.default_adapter ?? null;
if (newAdapter && this._adapter)
this._setHadSetupDevices([...this._getDevices()].length > 0);
this._setHadSetupDevices([...this.getDevices()].length > 0);
this._adapter = newAdapter;
this._deviceNotifyConnected.clear();