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
24d36e13ec
commit
4c288bd122
@ -303,8 +303,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