Add dev volunteers to anonymized accounts

This commit is contained in:
pikiou
2022-02-02 01:31:57 +01:00
parent b3189e3bf4
commit b21b77e513
3 changed files with 75 additions and 40 deletions

View File

@@ -213,11 +213,11 @@ export class Sheet<
async dbFirstLoad(): Promise<void> {
if (!(await hasGSheetsAccess())) {
await this.loadLocalDb()
} else if (this.toRunAfterLoad && __DEV__) {
this.toRunAfterLoad.push(() => this.saveLocalDb())
}
this.dbLoad()
if (__DEV__ && (await hasGSheetsAccess())) {
this.saveLocalDb()
}
await this.dbLoad()
}
private async dbSaveAsync(): Promise<void> {