Rework the 'main menu' to be a screen that's always in history

This commit is contained in:
Paul Frazee 2022-12-06 10:11:32 -06:00
parent 70cfae56e2
commit 474c4f9b5d
7 changed files with 300 additions and 379 deletions

View file

@ -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
}