Use `popupOnlyContext`

This commit is contained in:
Justin Baur 2024-04-19 21:40:11 -04:00
parent 725e24713b
commit 7860f9aa01
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -1072,7 +1072,7 @@ export default class MainBackground {
this.containerService.attachToGlobal(self);
// Only the "true" background should run migrations
await this.stateService.init({ runMigrations: !this.isPrivateMode });
await this.stateService.init({ runMigrations: !this.popupOnlyContext });
// This is here instead of in in the InitService b/c we don't plan for
// side effects to run in the Browser InitService.