loginDialog: Realign list of batch tasks

The way the batch tasks are currently aligned doesn't jive with
with eslint likes.

This commit moves it over a bit.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1809>
This commit is contained in:
Ray Strode 2021-04-14 09:31:40 -04:00
parent b93bf2bd69
commit 1410db2470

View File

@ -1048,7 +1048,8 @@ var LoginDialog = GObject.registerClass({
let loginItem = null;
let animationTime;
let tasks = [() => this._waitForItemForUser(userName),
let tasks = [
() => this._waitForItemForUser(userName),
() => {
loginItem = this._userList.getItemFromUserName(userName);
@ -1095,7 +1096,8 @@ var LoginDialog = GObject.registerClass({
() => {
this._timedLoginBatch = null;
this._greeter.call_begin_auto_login_sync(userName, null);
}];
},
];
this._timedLoginBatch = new Batch.ConsecutiveBatch(this, tasks);