mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
screenShield: Cleanup _ensureUnlockDialog
Just like on ScreenShield.activate(), we can just ensure the unlock screen on ScreenShield.showDialog(). https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872
This commit is contained in:
parent
727c84251d
commit
fd484099ae
1 changed files with 1 additions and 2 deletions
|
|
@ -328,8 +328,7 @@ var ScreenShield = class {
|
|||
this.actor.show();
|
||||
this._isGreeter = Main.sessionMode.isGreeter;
|
||||
this._isLocked = true;
|
||||
if (this._ensureUnlockDialog(true))
|
||||
this._hideLockScreen(false);
|
||||
this._ensureUnlockDialog(true);
|
||||
}
|
||||
|
||||
_hideLockScreenComplete() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue