Rework the 'main menu' to be a screen that's always in history
This commit is contained in:
parent
70cfae56e2
commit
474c4f9b5d
7 changed files with 300 additions and 379 deletions
|
@ -138,7 +138,10 @@ export class SessionModel {
|
|||
}
|
||||
|
||||
async connect(): Promise<void> {
|
||||
this._connectPromise ??= this._connect()
|
||||
if (this._connectPromise) {
|
||||
return this._connectPromise
|
||||
}
|
||||
this._connectPromise = this._connect()
|
||||
await this._connectPromise
|
||||
this._connectPromise = undefined
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue