Give argument better name

Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
RMidhunSuresh 2021-08-17 17:53:59 +05:30
parent db3fd3d1ae
commit d2c94b0d3e

View file

@ -103,7 +103,7 @@ export class RootViewModel extends ViewModel {
}
}
_showLogin(options) {
_showLogin(loginToken) {
this._setSection(() => {
this._loginViewModel = new LoginViewModel(this.childOptions({
defaultHomeServer: this.platform.config["defaultHomeServer"],
@ -120,7 +120,7 @@ export class RootViewModel extends ViewModel {
this._pendingSessionContainer = sessionContainer;
this.navigation.push("session", sessionContainer.sessionId);
},
...options
...loginToken
}));
});
}