mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
Give argument better name
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
db3fd3d1ae
commit
d2c94b0d3e
@ -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
|
||||
}));
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user