authPrompt: Trivial style cleanup
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922
This commit is contained in:
parent
0b150a17c5
commit
db4dfd8fa5
@ -181,10 +181,10 @@ var AuthPrompt = GObject.registerClass({
|
||||
}
|
||||
|
||||
_updateEntry(secret) {
|
||||
if (secret && (this._entry != this._passwordEntry)) {
|
||||
if (secret && this._entry !== this._passwordEntry) {
|
||||
this._mainBox.replace_child(this._entry, this._passwordEntry);
|
||||
this._entry = this._passwordEntry;
|
||||
} else if (!secret && (this._entry != this._textEntry)) {
|
||||
} else if (!secret && this._entry !== this._textEntry) {
|
||||
this._mainBox.replace_child(this._entry, this._textEntry);
|
||||
this._entry = this._textEntry;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user