Give argument better name
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
db3fd3d1ae
commit
d2c94b0d3e
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}));
|
||||
});
|
||||
}
|
||||
|
|
Reference in a new issue