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
@ -328,8 +328,7 @@ var ScreenShield = class {
|
|||||||
this.actor.show();
|
this.actor.show();
|
||||||
this._isGreeter = Main.sessionMode.isGreeter;
|
this._isGreeter = Main.sessionMode.isGreeter;
|
||||||
this._isLocked = true;
|
this._isLocked = true;
|
||||||
if (this._ensureUnlockDialog(true))
|
this._ensureUnlockDialog(true);
|
||||||
this._hideLockScreen(false);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
_hideLockScreenComplete() {
|
_hideLockScreenComplete() {
|
||||||
|
Loading…
Reference in New Issue
Block a user