keyring: Fix incorrect reference to the label instead of string

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2036>
This commit is contained in:
Evan Welsh 2021-10-30 15:09:39 -07:00 committed by Marge Bot
parent 01a23b0553
commit 75e57749f0

View File

@ -76,7 +76,7 @@ class KeyringDialog extends ModalDialog.ModalDialog {
warning.opacity = this.prompt.warning_visible ? 255 : 0;
});
this.prompt.connect('notify::warning', () => {
if (this._passwordEntry && warning !== '')
if (this._passwordEntry && this.prompt.warning !== '')
Util.wiggle(this._passwordEntry);
});
warningBox.add_child(warning);