authPrompt: Fix cancel button visibility

Grrr, this slipped in in 5cad5c20e9, and we don't have a compiler
to catch those kinds of bugs :-(

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2228
This commit is contained in:
Florian Müllner 2020-02-18 22:23:26 +01:00 committed by Florian Müllner
parent c02296a9b9
commit 24c8f5bb70

View File

@ -81,7 +81,7 @@ var AuthPrompt = GObject.registerClass({
});
this.add_child(this._userWell);
this._hasCancelButton = this._mode === AuthPromptStatus.UNLOCK_OR_LOG_IN;
this._hasCancelButton = this._mode === AuthPromptMode.UNLOCK_OR_LOG_IN;
this._initEntryRow();