mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
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
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue