js/gdm/util: Rename fingerprint device into devicePath
It's just the dbus object path, so let's not be confused by that. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2267>
This commit is contained in:
parent
d5ca108a65
commit
efb52899f5
@ -355,11 +355,11 @@ export class ShellUserVerifier extends Signals.EventEmitter {
|
||||
return;
|
||||
}
|
||||
|
||||
const [device] = await this._fprintManager.GetDefaultDeviceAsync(
|
||||
const [devicePath] = await this._fprintManager.GetDefaultDeviceAsync(
|
||||
Gio.DBusCallFlags.NONE, this._cancellable);
|
||||
const fprintDeviceProxy = new FprintDeviceProxy(Gio.DBus.system,
|
||||
'net.reactivated.Fprint',
|
||||
device);
|
||||
devicePath);
|
||||
const fprintDeviceType = fprintDeviceProxy['scan-type'];
|
||||
|
||||
this._fingerprintReaderType = fprintDeviceType === 'swipe'
|
||||
|
Loading…
x
Reference in New Issue
Block a user